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