Fix typos in fixture use. Mention fixtures in pytest.ini (#25381)
This commit is contained in:

committed by
GitHub

parent
cc8bb38aab
commit
78850f38eb
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
@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(
|
||||
|
Reference in New Issue
Block a user