Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Darst <rkd@zgib.net>2009-09-12 03:23:58 (GMT)
committer Richard Darst <rkd@zgib.net>2009-09-12 03:23:58 (GMT)
commit09f612a0db747406343b0a723c75fef365a1887e (patch)
tree573bd622eaf6a8f22648b9702bdb5f78d889f274
parentc90f88964dfb28a4a2cba0b6c68d63d8ce8588ae (diff)
Add an extra test to verify proper supybot tests
- Ensures that we have OK in the output, instead of just lack of FAILED, to have supybot-test pass. - This is neededbecause the external supybot-test command doesn't have a useful return code. darcs-hash:20090912032358-82ea9-bc6d4818a15ed87dccd52e7926c14c4c4465963a.gz
-rw-r--r--tests/run_test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run_test.py b/tests/run_test.py
index c503c24..40b3955 100644
--- a/tests/run_test.py
+++ b/tests/run_test.py
@@ -34,6 +34,7 @@ class MeetBotTest(unittest.TestCase):
output = os.popen("supybot-test ./MeetBot 2>&1").read()
print output
assert 'FAILED' not in output, "supybot-based tests failed."
+ assert '\nOK\n' in output, "supybot-based tests failed."
finally:
os.unlink("MeetBot")