Created
February 4, 2020 20:19
-
-
Save Porter97/83dd532e6535ded80aeb310e711fc345 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#... | |
@app.cli.command() | |
def test(): | |
"""Run the unit tests.""" | |
import unittest | |
tests = unittest.TestLoader().discover('tests') | |
unittest.TextTestRunner(verbosity=2).run(tests) | |
#... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment