Irit Goihman has uploaded a new change for review.

Change subject: wip: tests: change testing framework to pytest
......................................................................

wip: tests: change testing framework to pytest

Change-Id: Ife527b9274c31a72b57da9b958a1dd2f9f1e5ea0
Signed-off-by: Irit Goihman <igoih...@redhat.com>
---
A tests/pytest.ini
M tests/testrunner.py
2 files changed, 4 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/17/60217/1

diff --git a/tests/pytest.ini b/tests/pytest.ini
new file mode 100644
index 0000000..521a323
--- /dev/null
+++ b/tests/pytest.ini
@@ -0,0 +1,2 @@
+[pytest] 
+python_files = *tests.py *test.py *Test.py *Tests.py
diff --git a/tests/testrunner.py b/tests/testrunner.py
index 27f6f7e..38d970e 100644
--- a/tests/testrunner.py
+++ b/tests/testrunner.py
@@ -26,6 +26,7 @@
     import pthreading
     pthreading.monkey_patch()
 
+import pytest
 import warnings
 import logging
 
@@ -85,4 +86,4 @@
     # Mock panic() calls for tests
     panic.panic = panicMock
 
-    testlib.run()
+    pytest.main()


-- 
To view, visit https://gerrit.ovirt.org/60217
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ife527b9274c31a72b57da9b958a1dd2f9f1e5ea0
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Irit Goihman <igoih...@redhat.com>
_______________________________________________
vdsm-patches mailing list
vdsm-patches@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/vdsm-patches@lists.fedorahosted.org

Reply via email to