python-test-lab

  • Test files must be prefixed with test_;
  • To run the tests we run from command line: python -m unittest test_calc.py
    • Or add the following line to the end of the test file: if __name__ == '__main__': unittest.main()