First of all, sorry for assigning this to heat-cfntools. However, the mox3 module was not listed. In case mox3 has a different issue tracking, let me know, on PyPI, all I get is that it is part of OpenStack project. I've chosen heat-cfntools as it uses mox3 for tests.
First of all, sorry for assigning this to heat-cfntools. However, the mox3 module was not listed. In case mox3 has a different issue tracking, let me know, on PyPI, all I get is that it is part of OpenStack project. I've chosen heat-cfntools as it uses mox3 for tests.
https:/ /pypi.python. org/pypi/ mox3
I'm trying to package mox3 for Fedora. When I the tests in mox3 0.7.0, I get this exception:
+ PYTHON= /usr/bin/ python3 OS_STDOUT_ CAPTURE= 1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./ --list OS_STDOUT_ CAPTURE= 1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./ --load-list /tmp/tmpbjtco4ow OS_STDOUT_ CAPTURE= 1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./ --load-list /tmp/tmp2luere5f OS_STDOUT_ CAPTURE= 1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./ --load-list /tmp/tmpwkeburha OS_STDOUT_ CAPTURE= 1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 ${PYTHON:-python} -m subunit.run discover -t ./ ./ --load-list /tmp/tmpla8ia91g ======= ======= ======= ======= ======= ======= ======= ======= ======= test_mox. MoxTest. testStubOutClas s_OldStyle ------- ------- ------- ------- ------- ------- ------- ------- ------- build/BUILD/ python3- python- mox3-0. 7.0-1.fc22/ mox3/tests/ test_mox. py", line 1915, in testStubOutClas s_OldStyle instance. Value() .AndReturn( 'mock instance') build/BUILD/ python3- python- mox3-0. 7.0-1.fc22/ mox3/mox. py", line 1107, in __call__ _checker. Check(params, named_params) build/BUILD/ python3- python- mox3-0. 7.0-1.fc22/ mox3/mox. py", line 1029, in Check sorted( still_needed) )))
+ /usr/bin/python3 setup.py testr --slowest
running testr
running=
running=
running=
running=
running=
=======
FAIL: mox3.tests.
tags: worker-1
-------
Traceback (most recent call last):
File "/builddir/
mock_
File "/builddir/
self.
File "/builddir/
% (' '.join(
AttributeError: No values given for arguments: self
Expecting a string b'2014-12-16 20:42:25.441886Z'
error: testr failed (3)