In our team, we define most test cases like this:
One \"framework\" class ourtcfw.py:
ourtcfw.py
import unittest class OurTcFw(unittest.TestCase):
Maybe, it will be helpful for somebody. In case you want to run only tests from specific class:
if __name__ == "__main__": unittest.main(MyCase())
It works for me in python 3.6