Advertisement
Guest User

Untitled

a guest
Aug 18th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. novaclient.tests.unit.v2.test_shell.ShellTest.test_network_delete
  2. -----------------------------------------------------------------
  3.  
  4. Captured traceback:
  5. ~~~~~~~~~~~~~~~~~~~
  6. Traceback (most recent call last):
  7. File "novaclient/tests/unit/v2/test_shell.py", line 2565, in test_network_delete
  8. self.run_command('network-delete 1')
  9. File "/home/dan/python-novaclient/.tox/py27/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
  10. return func(*args, **keywargs)
  11. File "novaclient/tests/unit/v2/test_shell.py", line 93, in run_command
  12. self.shell.main(version_options + cmd.split())
  13. File "novaclient/shell.py", line 909, in main
  14. args.func(self.cs, args)
  15. File "novaclient/v2/shell.py", line 98, in wrapped
  16. return fn(cs, *args, **kwargs)
  17. File "novaclient/v2/shell.py", line 1035, in do_network_delete
  18. network.delete()
  19. File "novaclient/api_versions.py", line 399, in substitution
  20. return methods[-1].func(obj, *args, **kwargs)
  21. File "novaclient/api_versions.py", line 438, in wrapped
  22. return fn(*a, **k)
  23. TypeError: delete() takes exactly 2 arguments (1 given)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement