summaryrefslogtreecommitdiffstats
path: root/ipatests/test_integration
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-12-02 13:30:20 +0100
committerTomas Babej <tbabej@redhat.com>2014-12-17 15:37:56 +0100
commitbc5b13c3dac8e2b858bd397f91eddf738d13c832 (patch)
treece42ab1d2da7f0d693b803f3ede190ae9c0045a4 /ipatests/test_integration
parent1e27fcc3b1e0ea36a606e5997da6fab2a0432c2e (diff)
ipatests: Use pytest-sourceorder
The plugin to run tests within a class in the order they're defined in the source was split into a separate project. Use this project instead of a FreeIPA-specific copy. Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipatests/test_integration')
-rw-r--r--ipatests/test_integration/base.py2
-rw-r--r--ipatests/test_integration/test_ordering.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_integration/base.py b/ipatests/test_integration/base.py
index d291c36c2..ee41b4142 100644
--- a/ipatests/test_integration/base.py
+++ b/ipatests/test_integration/base.py
@@ -23,7 +23,7 @@ import pytest
from ipapython.ipa_log_manager import log_mgr
from ipatests.test_integration import tasks
-from ipatests.pytest_plugins.ordering import ordered
+from pytest_sourceorder import ordered
log = log_mgr.get_logger(__name__)
diff --git a/ipatests/test_integration/test_ordering.py b/ipatests/test_integration/test_ordering.py
index ee224901c..583d87c5e 100644
--- a/ipatests/test_integration/test_ordering.py
+++ b/ipatests/test_integration/test_ordering.py
@@ -25,7 +25,7 @@ in a specific order:
- Within a class, test methods are ordered according to source line
"""
-from ipatests.pytest_plugins.ordering import ordered
+from pytest_sourceorder import ordered
@ordered