For the following code:
import unittest class Test(unittest.TestCase): def test1(self): assert(True == True) if __name__ == \"__main__\": s
You can run it like this:
python -m unittest
I don't fully understand why it works though.