Created
June 10, 2016 18:03
-
-
Save mriedem/2c28cdd97c046acad867eb31e164848d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nova.tests.unit.network.test_neutronv2.TestNeutronv2AutoAllocateNetwork.test__ports_needed_per_instance_auto_reqs_no_nets_not_ready | |
----------------------------------------------------------------------------------------------------------------------------------- | |
Captured traceback: | |
~~~~~~~~~~~~~~~~~~~ | |
Traceback (most recent call last): | |
File "nova/tests/unit/network/test_neutronv2.py", line 4715, in test__ports_needed_per_instance_auto_reqs_no_nets_not_ready | |
self.context, mock.sentinel.neutron, requested_networks) | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 485, in assertRaises | |
self.assertThat(our_callable, matcher) | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 496, in assertThat | |
mismatch_error = self._matchHelper(matchee, matcher, message, verbose) | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 547, in _matchHelper | |
mismatch = matcher.match(matchee) | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 108, in match | |
mismatch = self.exception_matcher.match(exc_info) | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_higherorder.py", line 62, in match | |
mismatch = matcher.match(matchee) | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 475, in match | |
reraise(*matchee) | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/matchers/_exception.py", line 101, in match | |
result = matchee() | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 1049, in __call__ | |
return self._callable_object(*self._args, **self._kwargs) | |
File "nova/network/neutronv2/api.py", line 1149, in _ports_needed_per_instance | |
if not self._can_auto_allocate_network(neutron): | |
File "<string>", line 2, in _can_auto_allocate_network | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/mock/mock.py", line 292, in checksig | |
sig.bind(*args, **kwargs) | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/funcsigs/__init__.py", line 792, in bind | |
return args[0]._bind(args[1:], kwargs) | |
File "/home/user/git/nova/.tox/py27/local/lib/python2.7/site-packages/funcsigs/__init__.py", line 717, in _bind | |
raise TypeError(msg) | |
TypeError: 'neutron' parameter lacking default value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment