diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-02-18 22:22:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-18 13:22:49 -0800 |
commit | f2e3edf6db08fc2bc43ee73c10d2da0fd06febd4 (patch) | |
tree | 5085434dc070718c4e3d4cd6322a3fab01d83b25 /bin | |
parent | cbcf8d208b12d9968afbbca0113d78e9851ad1ab (diff) | |
download | spack-f2e3edf6db08fc2bc43ee73c10d2da0fd06febd4.tar.gz spack-f2e3edf6db08fc2bc43ee73c10d2da0fd06febd4.tar.bz2 spack-f2e3edf6db08fc2bc43ee73c10d2da0fd06febd4.tar.xz spack-f2e3edf6db08fc2bc43ee73c10d2da0fd06febd4.zip |
Testing: use spack.store.use_store everywhere (#21656)
Keep spack.store.store and spack.store.db consistent in unit tests
* Remove calls to monkeypatch for spack.store.store and spack.store.db:
tests that used these called one or the other, which lead to
inconsistencies (the tests passed regardless but were fragile as a
result)
* Fixtures making use of monkeypatch with mock_store now use the
updated use_store function, which sets store.store and store.db
consistently
* subprocess_context.TestState now transfers the serializes and
restores spack.store.store (without the monkeypatch changes this
would have created inconsistencies)
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions