Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1455

Two system tests failing after optparse to argparse migration

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: Tests
    • Labels:
      None

      Description

      test_69_interior_qdstat_all_routers (system_tests_edge_router.RouterTest) ... FAIL======================================================================
      FAIL: test_69_interior_qdstat_all_routers (system_tests_edge_router.RouterTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/foo/qpid-dispatch/tests/system_tests_edge_router.py", line 1319, in test_69_interior_qdstat_all_routers
          self.assertTrue(has_error)
      AssertionError: False is not true 

       

      Another test failure

      test_parse_args_qdstat_print_help (test_command.TestParseArgsQdstat) ... ok======================================================================
      ERROR: test_parse_args_qdstat_mutually_exclusive (test_command.TestParseArgsQdstat)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/foo/qpid-dispatch/tests/test_command.py", line 70, in test_parse_args_qdstat_mutually_exclusive
          _call_pairs(options1)
        File "/foo/qpid-dispatch/tests/test_command.py", line 67, in _call_pairs
          with self.assertRaises(ValueError):
      TypeError: failUnlessRaises() takes at least 3 arguments (2 given) 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gmurthy Ganesh Murthy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: