From 945850868776908328883721fc84657574180418 Mon Sep 17 00:00:00 2001 From: sabs-r3 Date: Thu, 24 Oct 2019 15:08:53 +0100 Subject: [PATCH 1/3] Made it fail --- 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 3e8a936..cac5cf7 100644 --- a/test/test_clock.py +++ b/test/test_clock.py @@ -8,7 +8,7 @@ class MyTestCase(unittest.TestCase): @patch('time.time', return_value=1571871846.8861961) def test_the_time(self, mock): - self.assertEqual(clock.whats_the_time(), 1571871846.8861961) + self.assertEqual(clock.whats_the_time(), 1571871846.8861962) if __name__ == '__main__': From 4e8828895f90e9cbe6fb24fc62d8899c0bfba299 Mon Sep 17 00:00:00 2001 From: sabs-r3 Date: Thu, 24 Oct 2019 15:14:26 +0100 Subject: [PATCH 2/3] Made it fail --- 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 cac5cf7..f55ec7e 100644 --- a/test/test_clock.py +++ b/test/test_clock.py @@ -8,7 +8,7 @@ class MyTestCase(unittest.TestCase): @patch('time.time', return_value=1571871846.8861961) def test_the_time(self, mock): - self.assertEqual(clock.whats_the_time(), 1571871846.8861962) + self.assertEqual(clock.whats_the_time(), 1571871845.8861962) if __name__ == '__main__': From 867d573c2b9532c0cde71e3f9e107c48ed91f3d5 Mon Sep 17 00:00:00 2001 From: sabs-r3 Date: Thu, 24 Oct 2019 15:15:43 +0100 Subject: [PATCH 3/3] Made it fail --- 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 f55ec7e..2875f83 100644 --- a/test/test_clock.py +++ b/test/test_clock.py @@ -8,7 +8,7 @@ class MyTestCase(unittest.TestCase): @patch('time.time', return_value=1571871846.8861961) def test_the_time(self, mock): - self.assertEqual(clock.whats_the_time(), 1571871845.8861962) + self.assertEqual(clock.whats_the_time(), 1571871835.8861962) if __name__ == '__main__':