From 09f612a0db747406343b0a723c75fef365a1887e Mon Sep 17 00:00:00 2001 From: Richard Darst Date: Sat, 12 Sep 2009 03:23:58 +0000 Subject: 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 --- (limited to 'tests') 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") -- cgit v0.9.1