pass code check

This commit is contained in:
Bob Lantz
2017-03-13 16:34:38 -07:00
parent 35a33fc617
commit ef5c80abb3
+2 -1
View File
@@ -21,7 +21,8 @@ def runTests( testDir, verbosity=1 ):
# discover all tests in testDir
testSuite = defaultTestLoader.discover( testDir )
# run tests
success = TextTestRunner( verbosity=verbosity ).run( testSuite ).wasSuccessful()
success = ( TextTestRunner( verbosity=verbosity )
.run( testSuite ).wasSuccessful() )
sys.exit( 0 if success else 1 )
if __name__ == '__main__':