From 6facfe184a21cfef450301b32c25985d40978011 Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 13:52:47 +0100 Subject: [PATCH 01/11] Made travis nice --- travis.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 travis.yml diff --git a/travis.yml b/travis.yml new file mode 100644 index 0000000..085e659 --- /dev/null +++ b/travis.yml @@ -0,0 +1,4 @@ +language: python + +script: + - pytest \ No newline at end of file From 5078399225f1ecd8a386dda151354f1ec834af23 Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 13:55:43 +0100 Subject: [PATCH 02/11] Made travis nice yes --- travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/travis.yml b/travis.yml index 085e659..d699063 100644 --- a/travis.yml +++ b/travis.yml @@ -1,4 +1,6 @@ language: python script: - - pytest \ No newline at end of file + - pytest + + From 4c05362098a798c946285db237b2ddbd5372f2ed Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 14:29:16 +0100 Subject: [PATCH 03/11] Made travis nice yes --- travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/travis.yml b/travis.yml index d699063..3ac7135 100644 --- a/travis.yml +++ b/travis.yml @@ -1,5 +1,8 @@ language: python +python: + - 3.6 + script: - pytest From fa6bd370e4977102a54c00b6544fa816be2a817e Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 14:32:48 +0100 Subject: [PATCH 04/11] Made travis nice yes --- travis.yml => .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename travis.yml => .travis.yml (85%) diff --git a/travis.yml b/.travis.yml similarity index 85% rename from travis.yml rename to .travis.yml index 3ac7135..468374d 100644 --- a/travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: python python: - - 3.6 + - 3.8 script: - pytest From 5ffd54074149d7f036f15f69b9165abd86ff3b27 Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 14:37:11 +0100 Subject: [PATCH 05/11] Made travis nice yes --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 468374d..ccde172 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,6 @@ python: - 3.8 script: - - pytest + - pytest -m unittest discover test From 3aa19ce8a025e30f9b7ba0751c831c39efac43ff Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 14:39:06 +0100 Subject: [PATCH 06/11] Made travis nice yes --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ccde172..9fb95c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,6 @@ python: - 3.8 script: - - pytest -m unittest discover test + - python -m unittest discover test From c5f79e94fb9b705b4e319ec54baa7c67db593507 Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 14:41:15 +0100 Subject: [PATCH 07/11] Made travis nice yes --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9fb95c2..c4ab6ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ language: python python: - - 3.8 + - 3.7 script: - python -m unittest discover test From 015dd1fd0f8c4e81ffc4ee254204f02aae4df17d Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 15:01:37 +0100 Subject: [PATCH 08/11] Made travis nice yes --- test/{TestClock.py => test_clock.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/{TestClock.py => test_clock.py} (100%) 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 From 275998736604b8d8b8425cef5418db40240f6f9f Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 15:01:43 +0100 Subject: [PATCH 09/11] Made travis nice yes --- test/{TestWithMock.py => test_with_mock.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/{TestWithMock.py => test_with_mock.py} (100%) 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 From fd414dc6eac2f691063993df356b3e61d8ff7fac Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 15:01:48 +0100 Subject: [PATCH 10/11] Made travis nice yes --- test/{TestWithPatch.py => test_with_patch.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename test/{TestWithPatch.py => test_with_patch.py} (100%) 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 From f889cc21b49cc55686418ed02642a0d4cbbde741 Mon Sep 17 00:00:00 2001 From: TobiasHeOl2 Date: Thu, 24 Oct 2019 15:12:40 +0100 Subject: [PATCH 11/11] changed branch --- test/test_clock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_clock.py b/test/test_clock.py index 2c6ac3d..ad77f78 100644 --- a/test/test_clock.py +++ b/test/test_clock.py @@ -5,7 +5,7 @@ class MyTestCase(unittest.TestCase): - @patch('time.time', return_value=1571871846.8861961) + @patch('time.time', return_value=12312312346.8861961) def test_the_time(self, mock): self.assertEqual(clock.whats_the_time(), 1571871846.8861961)