Merge lp://staging/~allenap/commandant/test-failures-updated-bzrlib-possibly into lp://staging/commandant
Proposed by
Gavin Panella
Status: | Merged |
---|---|
Merged at revision: | 44 |
Proposed branch: | lp://staging/~allenap/commandant/test-failures-updated-bzrlib-possibly |
Merge into: | lp://staging/commandant |
Diff against target: |
202 lines (+70/-53) 3 files modified
commandant/tests/test_builtins.py (+27/-18) commandant/tests/test_controller.py (+7/-2) commandant/tests/test_help_topics.py (+36/-33) |
To merge this branch: | bzr merge lp://staging/~allenap/commandant/test-failures-updated-bzrlib-possibly |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jamu Kakar | Pending | ||
Review via email: mp+122920@code.staging.launchpad.net |
Commit message
Be more forgiving of test output that may vary as a result of changes in dependencies.
The ordering of the standard --quiet and --verbose flags, for example, seems to have changed, possibly as a result of changes in bzrlib. This detail is irrelevant in the tests, however, so testtools.
To post a comment you must log in.
I got a bunch of test failures here:
[ERROR] testresult. real._StringExc eption: ValueError: TestCase.setUp was not called. Have you upcalled all the way up the hierarchy from your setUp? e.g. Call super(HelpComma ndTest, self).setUp() from your setUp().
Traceback (most recent call last):
Failure: testtools.
commandant. tests.test_ builtins. HelpCommandTest .test_run_ commands tests.test_ builtins. HelpCommandTest .test_run_ commands_ with_custom_ help_help_ topic tests.test_ builtins. HelpCommandTest .test_run_ commands_ with_custom_ help_topic tests.test_ builtins. HelpCommandTest .test_run_ commands_ without_ docstring tests.test_ builtins. HelpCommandTest .test_run_ hidden_ commands tests.test_ builtins. HelpCommandTest .test_run_ hidden_ commands_ without_ hidden_ commands tests.test_ builtins. HelpCommandTest .test_run_ many_commands tests.test_ builtins. HelpCommandTest .test_run_ topics tests.test_ builtins. HelpCommandTest .test_run_ topics_ ignores_ custom_ command_ help tests.test_ builtins. HelpCommandTest .test_run_ topics_ with_custom_ help_topic tests.test_ builtins. HelpCommandTest .test_run_ topics_ with_custom_ underscore_ help_topic tests.test_ builtins. HelpCommandTest .test_run_ with_custom_ help_text tests.test_ builtins. HelpCommandTest .test_run_ with_custom_ help_text_ trims_trailing_ whitespace tests.test_ builtins. HelpCommandTest .test_run_ with_custom_ topic tests.test_ builtins. HelpCommandTest .test_run_ with_custom_ topic_strips_ whitespace tests.test_ builtins. HelpCommandTest .test_run_ with_hidden_ commands tests.test_ builtins. HelpCommandTest .test_run_ with_python_ command_ topic tests.test_ builtins. HelpCommandTest .test_run_ with_python_ command_ without_ docstring tests.test_ builtins. HelpCommandTest .test_run_ with_stock_ help_text tests.test_ builtins. HelpCommandTest .test_run_ with_unknown_ command_ or_topic_ name ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == testresult. real._StringExc eption: ValueError: TestCase.setUp was not called. Have you upcalled all the way up the hierarchy from your setUp? e.g. Call super(CommandHe lpTopicTest, self).setUp() from your setUp().
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
commandant.
=======
[ERROR]
Traceback (most recent call last):
Failure: testtools.
commandant. tests.test_ help_topics. CommandHelpTopi cTest.test_ get_help_ contents tests.test_ help_topics. CommandHelpTopi cTest.test_ instantiate ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= == testresult. real._StringExc eption: ValueError: TestCase.setUp was not called. Have you upcalled all the way up the hierarchy from your setUp? e.g. Call super(CustomCom mandHelpTopicTe st, self).setUp() from your setUp().
commandant.
=======
[ERROR]
Traceback (most recent call last):
Failure: testtools.
commandant. tests.test_ help_topics. CustomCommandHe lpTopicTest. test_get_ help_contents ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --
-------
Ran 83 tests in 0.437s
FAILED (errors=23, successes=60)
make: *** [check] Error 1
I've fixed this by adding a new commandant. testing. basic.Commandan tTestCase
class that calls the setUp...