From 2b24faf3c13752f7f6e1d926902201e657ba13cc Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 7 Oct 2014 16:13:17 +0200 Subject: [PATCH] tests: Add configuration for pytest By default, pytest considers test classes only if they're named 'Test*'; Nose also allows 'test_*'. Configure pytest to allow the non-pep8 names as well. https://fedorahosted.org/freeipa/ticket/4610 Reviewed-By: Tomas Babej --- ipatests/pytest.ini | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 ipatests/pytest.ini diff --git a/ipatests/pytest.ini b/ipatests/pytest.ini new file mode 100644 index 000000000..d2355d961 --- /dev/null +++ b/ipatests/pytest.ini @@ -0,0 +1,2 @@ +[pytest] +python_classes = test_ Test