diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-08-12 14:08:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-12 12:08:53 +0000 |
commit | 78850f38eb8b361557250f4212e1d92b0ae741d8 (patch) | |
tree | 79b90a5280ab70b5471573927b78d15d96605dc6 /lib | |
parent | cc8bb38aab99f5fe6a675281b99a5196a9e44528 (diff) | |
download | spack-78850f38eb8b361557250f4212e1d92b0ae741d8.tar.gz spack-78850f38eb8b361557250f4212e1d92b0ae741d8.tar.bz2 spack-78850f38eb8b361557250f4212e1d92b0ae741d8.tar.xz spack-78850f38eb8b361557250f4212e1d92b0ae741d8.zip |
Fix typos in fixture use. Mention fixtures in pytest.ini (#25381)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/test/config_values.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/test/config_values.py b/lib/spack/spack/test/config_values.py index 367138f098..4933c5b95f 100644 --- a/lib/spack/spack/test/config_values.py +++ b/lib/spack/spack/test/config_values.py @@ -9,7 +9,7 @@ import spack.store @pytest.mark.parametrize('hash_length', [1, 2, 3, 4, 5, 9]) -@pytest.mark.use_fixtures('mock_packages') +@pytest.mark.usefixtures('mock_packages') def test_set_install_hash_length(hash_length, mutable_config, tmpdir): mutable_config.set('config:install_hash_length', hash_length) mutable_config.set('config:install_tree', {'root': str(tmpdir)}) @@ -24,7 +24,7 @@ def test_set_install_hash_length(hash_length, mutable_config, tmpdir): assert len(hash_str) == hash_length -@pytest.mark.use_fixtures('mock_packages') +@pytest.mark.usefixtures('mock_packages') def test_set_install_hash_length_upper_case(mutable_config, tmpdir): mutable_config.set('config:install_hash_length', 5) mutable_config.set( |