test_bugdown: Fix ignore-testcase feature for markdown_test_cases.

We accidentally were 'return'ing on encountering an ignored case, and thus
exiting the loop, not running further testcases.
This commit is contained in:
Rohitt Vashishtha
2018-05-01 10:20:08 +05:30
committed by Tim Abbott
parent c1432d9dfc
commit 6c96ba79e0

View File

@@ -264,7 +264,7 @@ class BugdownTest(ZulipTestCase):
# Ignore tests if specified
if test.get('ignore', False):
return # nocoverage
continue # nocoverage
if test.get('translate_emoticons', False):
# Create a userprofile and send message with it.