# HG changeset patch # User Jeff Hammel # Date 1306340688 25200 # Node ID 829b7f528483c8dda290aff39da3f5fdf1e6b043 # Parent ea3225facbcf05720c4c19231e102b72254c1573 DRY diff -r ea3225facbcf -r 829b7f528483 makeitso/python_package/tests/test.py --- a/makeitso/python_package/tests/test.py Wed May 25 09:10:57 2011 -0700 +++ b/makeitso/python_package/tests/test.py Wed May 25 09:24:48 2011 -0700 @@ -50,8 +50,7 @@ options, args = parser.parse_args(args) # run the tests - results = run_tests(report_first=options.report_first, - raise_on_error=options.raise_on_error) + results = run_tests(**options.__dict__) if sum([i.failed for i in results.values()]): sys.exit(1) # error