BIND 10 #2221: Add verbosity=2 as an argument when running Python unittests

BIND 10 Development do-not-reply at isc.org
Fri Aug 24 07:30:13 UTC 2012


#2221: Add verbosity=2 as an argument when running Python unittests
-------------------------------------+-------------------------------------
                   Reporter:  muks   |                 Owner:  UnAssigned
                       Type:         |                Status:  reviewing
  enhancement                        |             Milestone:  Next-Sprint-
                   Priority:  low    |  Proposed
                  Component:         |            Resolution:
  Unclassified                       |             Sensitive:  0
                   Keywords:         |           Sub-Project:  DNS
            Defect Severity:  N/A    |  Estimated Difficulty:  0
Feature Depending on Ticket:         |           Total Hours:  0
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
Changes (by muks):

 * milestone:  Sprint-20120904 => Next-Sprint-Proposed


Comment:

 Hi Jinmei

 I agree with what you say. In this case it's a 4 line change that adds
 `verbosity=2` to a method call, repeated over the Python unittest files:

 {{{
  if __name__ == '__main__':
 -    unittest.main()
 +    try:
 +        unittest.main(verbosity=2)
 +    except TypeError:
 +        unittest.main()
 }}}

 It was implemented as I wanted it fixed quickly. I'll move it to the next
 sprint queue, but I am afraid we'll just skip it then.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2221#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list