diff --git a/.travis.yml b/.travis.yml index e3f28d2..37fa313 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ language: python +python: + - 3.8 script: - - pytest \ No newline at end of file + - python -m unittest discover test \ No newline at end of file diff --git a/test/TestClock.py b/test/test_clock.py similarity index 93% rename from test/TestClock.py rename to test/test_clock.py index 2c6ac3d..f5bf568 100644 --- a/test/TestClock.py +++ b/test/test_clock.py @@ -11,4 +11,4 @@ def test_the_time(self, mock): if __name__ == '__main__': - unittest.main() + unittest.main() \ No newline at end of file diff --git a/test/TestWithMock.py b/test/test_with_mock.py similarity index 99% rename from test/TestWithMock.py rename to test/test_with_mock.py index 9838ed8..0778c3d 100644 --- a/test/TestWithMock.py +++ b/test/test_with_mock.py @@ -1,7 +1,8 @@ import unittest -from temperature_tracker import TemperatureTracker from unittest.mock import Mock +from temperature_tracker import TemperatureTracker + class TestWithMock(unittest.TestCase): diff --git a/test/TestWithPatch.py b/test/test_with_patch.py similarity index 100% rename from test/TestWithPatch.py rename to test/test_with_patch.py