Skip to content

Commit

Permalink
modules/markdown: C+P Mishap
Browse files Browse the repository at this point in the history
  • Loading branch information
lentinj committed Apr 23, 2024
1 parent c506e74 commit 59033dd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions modules/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,3 @@ def markdown(text):
)

return current.oz_markdown.convert(text)

if __name__ == '__main__':
import sys

if current.globalenv['is_testing'] != True:
raise RuntimeError("Do not run tests in production environments, ensure is_testing = True")
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestEmbed))
result = unittest.TextTestRunner(verbosity=2).run(suite)
if not result.wasSuccessful():
sys.exit(1)

0 comments on commit 59033dd

Please sign in to comment.