mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
Revert "supybot-test: Return the appropriate exit code."
This reverts commit f7f53fc9f6
.
This commit is contained in:
parent
ae9b8c8b42
commit
de4f1b34d2
@ -31,7 +31,6 @@
|
||||
###
|
||||
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
import shutil
|
||||
started = time.time()
|
||||
@ -201,11 +200,9 @@ if __name__ == '__main__':
|
||||
shutil.rmtree(conf.supybot.directories.log())
|
||||
shutil.rmtree(conf.supybot.directories.conf())
|
||||
shutil.rmtree(conf.supybot.directories.data())
|
||||
result = runner.run(suite)
|
||||
runner.run(suite)
|
||||
|
||||
if hasattr(unittest, 'asserts'):
|
||||
print 'Total asserts: %s' % unittest.asserts
|
||||
|
||||
sys.exit(int(result.wasSuccessful()))
|
||||
|
||||
# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
|
||||
|
Loading…
Reference in New Issue
Block a user