Created
August 12, 2011 14:19
-
-
Save mkmik/1142126 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
assert invocation == [('write', ("usage: nosetests [-h] N [N ...]\n\npositional arguments:\n N an integer for the accumulator\n\noptional arguments:\n -h, --help show this help message and exitX\n",),{})] | |
""" | |
====================================================================== | |
FAIL: test_help (opennode.oms.tests.test_cmdline.CmdLineTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/marko/Projects/opennode/opennode-management/opennode/oms/tests/test_cmdline.py", line 20, in test_help | |
assert invocation == [('write', ("usage: nosetests [-h] N [N ...]\n\npositional arguments:\n N an integer for the accumulator\n\noptional arguments:\n -h, --help show this help message and exitX\n",),{})] | |
AssertionError: | |
self.parser.print_help() | |
[('write', ('usage: nosetests [-h] N [N ...]\n\npositional arguments:\n N an integer for the accumulator\n\noptional arguments:\n -h, --help show this help message and exit\n',), {})] = self.terminal.method_calls | |
>> assert [('write', ('usage: nosetests [-h] N [N ...]\n\npositional arguments:\n N an integer for the accumulator\n\noptional arguments:\n -h, --help show this help message and exit\n',), {})] == [('write', ("usage: nosetests [-h] N [N ...]\n\npositional arguments:\n N an integer for the accumulator\n\noptional arguments:\n -h, --help show this help message and exitX\n",),{})] | |
""" |
This file contains hidden or 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
assert invocation == [ | |
('write', ("usage: nosetests [-h] N [N ...]\n\npositional arguments:\n N an integer for the accumulator\n\noptional arguments:\n -h, --help show this help message and exitX\n",),{})] | |
""" | |
====================================================================== | |
FAIL: test_help (opennode.oms.tests.test_cmdline.CmdLineTestCase) | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/home/marko/Projects/opennode/opennode-management/opennode/oms/tests/test_cmdline.py", line 21, in test_help | |
('write', ("usage: nosetests [-h] N [N ...]\n\npositional arguments:\n N an integer for the accumulator\n\noptional arguments:\n -h, --help show this help message and exitX\n",),{})] | |
AssertionError: | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment