Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hostinfo_history tests fail #9

Open
dwagon opened this issue Dec 31, 2014 · 0 comments
Open

hostinfo_history tests fail #9

dwagon opened this issue Dec 31, 2014 · 0 comments
Assignees
Labels

Comments

@dwagon
Copy link
Owner

dwagon commented Dec 31, 2014

ERROR: test_actor (host.tests.test_cmd_history)
Make sure that we are saving the actor properly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/tests.py", line 1578, in test_actor
    output = self.cmd.handle(namespace)
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/commands/cmd_hostinfo_history.py", line 54, in handle
    if namespace.origin:
AttributeError: 'Namespace' object has no attribute 'origin'

======================================================================
ERROR: test_badhost (host.tests.test_cmd_history)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/tests.py", line 1547, in test_badhost
    output = self.cmd.handle(namespace)
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/commands/cmd_hostinfo_history.py", line 45, in handle
    kvchanges = KeyValue.history.filter(hostid_id=host.id).order_by('history_date')
AttributeError: 'NoneType' object has no attribute 'id'

======================================================================
ERROR: test_noaudit (host.tests.test_cmd_history)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/tests.py", line 1641, in test_noaudit
    output = self.cmd.handle(namespace)
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/commands/cmd_hostinfo_history.py", line 54, in handle
    if namespace.origin:
AttributeError: 'Namespace' object has no attribute 'origin'

======================================================================
ERROR: test_origin (host.tests.test_cmd_history)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/tests.py", line 1558, in test_origin
    namespace = self.parser.parse_args(['-o', 'host_history_o'])
  File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 1697, in parse_args
    self.error(msg % ' '.join(argv))
  File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 2367, in error
    self.exit(2, _('%s: error: %s\n') % (self.prog, message))
  File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/argparse.py", line 2355, in exit
    _sys.exit(status)
SystemExit: 2

======================================================================
ERROR: test_valadd (host.tests.test_cmd_history)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/tests.py", line 1605, in test_valadd
    output = self.cmd.handle(namespace)
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/commands/cmd_hostinfo_history.py", line 54, in handle
    if namespace.origin:
AttributeError: 'Namespace' object has no attribute 'origin'

======================================================================
ERROR: test_valdelete (host.tests.test_cmd_history)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/tests.py", line 1622, in test_valdelete
    output = self.cmd.handle(namespace)
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/commands/cmd_hostinfo_history.py", line 54, in handle
    if namespace.origin:
AttributeError: 'Namespace' object has no attribute 'origin'

======================================================================
FAIL: test_hostadd (host.tests.test_cmd_history)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/dwagon/src/git/hostinfo/hostinfo/host/tests.py", line 1592, in test_hostadd
    self.assertTrue('added host_history_ha' in output[0])
AssertionError: False is not true
@dwagon dwagon added the bug label Dec 31, 2014
@dwagon dwagon self-assigned this Dec 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant