From 6c96ba79e001a990a93ab3dcee3b7c5471320bc6 Mon Sep 17 00:00:00 2001 From: Rohitt Vashishtha Date: Tue, 1 May 2018 10:20:08 +0530 Subject: [PATCH] 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. --- zerver/tests/test_bugdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/tests/test_bugdown.py b/zerver/tests/test_bugdown.py index 2bf6176889..9957699d10 100644 --- a/zerver/tests/test_bugdown.py +++ b/zerver/tests/test_bugdown.py @@ -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.