Remove shared disable from unit testing
This commit is contained in:
@@ -38,8 +38,6 @@
|
|||||||
from spack.fetch_strategy import FetchError
|
from spack.fetch_strategy import FetchError
|
||||||
from spack.spec import Spec
|
from spack.spec import Spec
|
||||||
from spack.version import Version
|
from spack.version import Version
|
||||||
from spack.main import SpackCommand
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Disable any activate Spack environment BEFORE all tests
|
# Disable any activate Spack environment BEFORE all tests
|
||||||
@@ -62,16 +60,6 @@ def clean_user_environment():
|
|||||||
ev.activate(active)
|
ev.activate(active)
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# Turn off Spack's shared mode if need be
|
|
||||||
#
|
|
||||||
@pytest.fixture(scope='session', autouse=True)
|
|
||||||
def disable_shared():
|
|
||||||
if spack.config.get('config:shared'):
|
|
||||||
share = SpackCommand('share')
|
|
||||||
share('deactivate')
|
|
||||||
|
|
||||||
|
|
||||||
# Hooks to add command line options or set other custom behaviors.
|
# Hooks to add command line options or set other custom behaviors.
|
||||||
# They must be placed here to be found by pytest. See:
|
# They must be placed here to be found by pytest. See:
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user