Remove unit testing for shared spack mode
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
||||
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
import pytest
|
||||
|
||||
import spack.config
|
||||
import spack.error
|
||||
|
||||
from spack.main import SpackCommand
|
||||
|
||||
share = SpackCommand('share')
|
||||
install = SpackCommand('install')
|
||||
|
||||
|
||||
@pytest.mark.test_activate
|
||||
def test_activate():
|
||||
share('activate')
|
||||
assert spack.config.get('config:shared') is True
|
||||
|
||||
|
||||
@pytest.mark.test_deactivate
|
||||
def test_deactivate():
|
||||
# Ensures that this test can be run individually
|
||||
# Activates shared mode so shared mode can be deactivated
|
||||
if not spack.config.get('config:shared'):
|
||||
share('activate')
|
||||
share('deactivate')
|
||||
assert spack.config.get('config:shared') is False
|
||||
Reference in New Issue
Block a user