spotfm/scripts.py

17 lines
333 B
Python

import subprocess
def test():
"""
Run all unittests.
"""
subprocess.run(
['python', '-u', '-m', 'unittest', 'discover', "-s", "tests"]
)
def testv():
"""
Run all unittests with verbose.
"""
subprocess.run(
['python', '-u', '-m', 'unittest', 'discover', "-v", "-s", "tests"]
)