a0abcd0905c7655d27e2d7159a8ab269a1c6ed0f,unittests/test_environments.py,TestEnvironment,test_conflict_environ_after_module_load,#TestEnvironment#,160

Before Change


        self.setup_modules_system()
        self.modules_system.load_module("testmod_foo")
        envfoo = renv.Environment(name="envfoo", modules=["testmod_foo"])
        envfoo.load()
        envfoo.unload()
        self.assertTrue(self.modules_system.is_module_loaded("testmod_foo"))

    @fixtures.switch_to_user_runtime

After Change


        self.setup_modules_system()
        self.modules_system.load_module("testmod_foo")
        envfoo = env.Environment(name="envfoo", modules=["testmod_foo"])
        snapshot, _ = env.load(envfoo)
        snapshot.restore()
        assert self.modules_system.is_module_loaded("testmod_foo")

    @fixtures.switch_to_user_runtime
    def test_conflict_environ_after_module_force_load(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: eth-cscs/reframe
Commit Name: a0abcd0905c7655d27e2d7159a8ab269a1c6ed0f
Time: 2019-10-07
Author: karakasis@cscs.ch
File Name: unittests/test_environments.py
Class Name: TestEnvironment
Method Name: test_conflict_environ_after_module_load


Project Name: eth-cscs/reframe
Commit Name: a0abcd0905c7655d27e2d7159a8ab269a1c6ed0f
Time: 2019-10-07
Author: karakasis@cscs.ch
File Name: unittests/test_environments.py
Class Name: TestEnvironment
Method Name: test_load_restore


Project Name: eth-cscs/reframe
Commit Name: a0abcd0905c7655d27e2d7159a8ab269a1c6ed0f
Time: 2019-10-07
Author: karakasis@cscs.ch
File Name: unittests/test_environments.py
Class Name: TestEnvironment
Method Name: test_load_already_present


Project Name: eth-cscs/reframe
Commit Name: a0abcd0905c7655d27e2d7159a8ab269a1c6ed0f
Time: 2019-10-07
Author: karakasis@cscs.ch
File Name: unittests/test_environments.py
Class Name: TestEnvironment
Method Name: test_conflict_environ_after_module_force_load