def test_pytest(self): self._run_and_compare(["py.test", "--teamcity", get_script_path("test-pytest.py")], "test-pytest.output.gold")
def test_nosetest(self): self._run_and_compare(["nosetests", "-w", get_script_path("test-nose")], "test-nose.output.gold")
def test_unittest(self): self._run_and_compare(["python", get_script_path("test-unittest.py")], "test-unittest.output.gold")