From 9d83be3647547cfca4e129cfeb63771213232cf7 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Mon, 26 Sep 2016 18:22:22 +0200 Subject: Remove unused variables in tests This commit removes or marks unused variables as "expected to be unused" by using '_' prefix. Reviewed-By: Florence Blanc-Renaud Reviewed-By: Stanislav Laznicka --- ipatests/pytest_plugins/declarative.py | 1 - 1 file changed, 1 deletion(-) (limited to 'ipatests/pytest_plugins') diff --git a/ipatests/pytest_plugins/declarative.py b/ipatests/pytest_plugins/declarative.py index 64e9b0bcd..529856b60 100644 --- a/ipatests/pytest_plugins/declarative.py +++ b/ipatests/pytest_plugins/declarative.py @@ -23,7 +23,6 @@ def pytest_generate_tests(metafunc): """Generates Declarative tests""" if 'declarative_test_definition' in metafunc.fixturenames: - name = metafunc.cls.__name__ tests = [] descriptions = [] for i, test in enumerate(metafunc.cls.tests): -- cgit