diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-14 10:48:56 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-01-14 10:48:56 -0500 |
commit | 681e7a5587e78918fd15af5255204216d0ea7237 (patch) | |
tree | cc5e9aa48ebb4f9c73c6f4ede467ece5bda4810c /tests | |
parent | 098579e27f380ce95f620b34984f20342db2395f (diff) | |
download | cryptography-681e7a5587e78918fd15af5255204216d0ea7237.tar.gz cryptography-681e7a5587e78918fd15af5255204216d0ea7237.tar.bz2 cryptography-681e7a5587e78918fd15af5255204216d0ea7237.zip |
better name for the variable
Diffstat (limited to 'tests')
-rw-r--r-- | tests/conftest.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/conftest.py b/tests/conftest.py index 86debe7c..49e178bc 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -10,17 +10,16 @@ from .utils import check_for_iface, check_backend_support, modify_backend_list # copy all backends so we can mutate it.This variable is used in generate # tests to allow us to target a single backend without changing _ALL_BACKENDS - -_UPDATED_BACKENDS = list(_ALL_BACKENDS) +_DESIRED_BACKENDS = list(_ALL_BACKENDS) def pytest_generate_tests(metafunc): - global _UPDATED_BACKENDS + global _DESIRED_BACKENDS name = metafunc.config.getoption("--backend") - modify_backend_list(name, _UPDATED_BACKENDS) + modify_backend_list(name, _DESIRED_BACKENDS) -@pytest.fixture(params=_UPDATED_BACKENDS) +@pytest.fixture(params=_DESIRED_BACKENDS) def backend(request): return request.param |