mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
tests: Use subTest in test_bugdown_fixtures.
This commit is contained in:
@@ -302,8 +302,9 @@ class BugdownTest(ZulipTestCase):
|
||||
else:
|
||||
converted = bugdown_convert(test['input'])
|
||||
|
||||
print("Running Bugdown test %s" % (name,))
|
||||
self.assertEqual(converted, test['expected_output'])
|
||||
with self.subTest(markdown_test_case=name):
|
||||
print("Running Bugdown test %s" % (name,))
|
||||
self.assertEqual(converted, test['expected_output'])
|
||||
|
||||
def replaced(payload: str, url: str, phrase: str='') -> str:
|
||||
target = " target=\"_blank\""
|
||||
|
||||
Reference in New Issue
Block a user