Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- novaclient.tests.unit.v2.test_shell.ShellTest.test_network_delete
- -----------------------------------------------------------------
- Captured traceback:
- ~~~~~~~~~~~~~~~~~~~
- Traceback (most recent call last):
- File "novaclient/tests/unit/v2/test_shell.py", line 2565, in test_network_delete
- self.run_command('network-delete 1')
- File "/home/dan/python-novaclient/.tox/py27/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
- return func(*args, **keywargs)
- File "novaclient/tests/unit/v2/test_shell.py", line 93, in run_command
- self.shell.main(version_options + cmd.split())
- File "novaclient/shell.py", line 909, in main
- args.func(self.cs, args)
- File "novaclient/v2/shell.py", line 98, in wrapped
- return fn(cs, *args, **kwargs)
- File "novaclient/v2/shell.py", line 1035, in do_network_delete
- network.delete()
- File "novaclient/api_versions.py", line 399, in substitution
- return methods[-1].func(obj, *args, **kwargs)
- File "novaclient/api_versions.py", line 438, in wrapped
- return fn(*a, **k)
- TypeError: delete() takes exactly 2 arguments (1 given)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement