diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..37fa313 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,5 @@ +language: python +python: + - 3.8 +script: + - python -m unittest discover test \ No newline at end of file diff --git a/test/TestClock.py b/test/test_clock.py similarity index 100% rename from test/TestClock.py rename to test/test_clock.py diff --git a/test/TestWithMock.py b/test/test_with_mock.py similarity index 100% rename from test/TestWithMock.py rename to test/test_with_mock.py diff --git a/test/TestWithPatch.py b/test/test_with_patch.py similarity index 88% rename from test/TestWithPatch.py rename to test/test_with_patch.py index 8f05a6b..33e8dbd 100644 --- a/test/TestWithPatch.py +++ b/test/test_with_patch.py @@ -12,7 +12,7 @@ class TestWithPatch(unittest.TestCase): def test_tracks_temperature_change(self, mock): tracker = TemperatureTracker() tracker.record_initial_temperature() - self.assertEqual(10, tracker.find_temperature_change()) + self.assertEqual(20, tracker.find_temperature_change()) if __name__ == '__main__':