Advertisement
Guest User

Untitled

a guest
Jan 31st, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. === modified file 'qa/test.py'
  2. --- qa/test.py 2014-10-25 21:26:41 +0000
  3. +++ qa/test.py 2015-01-31 19:12:34 +0000
  4. @@ -12,7 +12,7 @@
  5. results = unittest.TextTestRunner(verbosity=100).run(testsuite)
  6.  
  7. # Return an error code if any of the testsuite tests fail
  8. - if len(results.errors) > 0:
  9. + if( not results.wasSuccessful()):
  10. sys.exit(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement