On Fri, 19 Oct 2018, 16:45 Vojtech Juranek, <vjuranek(a)redhat.com> wrote:
Hi,
beginner question: I'm trying to run some VDSM tests locally (e.g.
blocksd_test.py), using
PYTHON_EXE=python3 ./run_tests_local.sh storage/blocksd_test.py
This works only for legacy test using nose.
Storage tests use tox. tests/README explains how to run them.
Lots of storage tests cannot run with python 3 yet because python 3 broke
backward compatibilty. See tox.ini for list of incompatible tests.
Nir
but I'm getting quite a lot of test failures. Most of the tests
fail
because
of mokeypatch fixture is not injected (see error bellow).
What I'm doing wrong and how I can run selected tests locally?
Thanks in advance
Vojta
ERROR: storage.blocksd_test.test_meta_size_max_val
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/nose/case.py", line 197, in
runTest
self.test(*self.arg)
TypeError: test_meta_size_max_val() missing 1 required positional
argument:
'monkeypatch'_______________________________________________
Devel mailing list -- devel(a)ovirt.org
To unsubscribe send an email to devel-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/I3PK3WSDFRN...