Fixed timestamp.
authorAleksey Maksimov <ctpeko3a@gmail.com>
Mon, 10 Jun 2013 09:00:39 +0000 (18:00 +0900)
committerAleksey Maksimov <ctpeko3a@gmail.com>
Mon, 10 Jun 2013 09:00:39 +0000 (18:00 +0900)
1370038540938 is 2013-05-31 22:15:40. So test fails on line 39.

jenkinsapi_tests/unittests/test_build.py

index e331068..f219ead 100644 (file)
@@ -23,7 +23,7 @@ class TestTimestamps(unittest.TestCase):
                         'keepLog': False,
                         'number': 1,
                         'result': 'SUCCESS',
-                        'timestamp': 1370038540938,
+                        'timestamp': 1370042140000,
                         'url': 'http://localhost:8080/job/foo/1/'}
 
        @mock.patch.object(Build, '_poll')
@@ -41,4 +41,4 @@ class TestTimestamps(unittest.TestCase):
        def testName(self):
                with self.assertRaises(AttributeError):
                        _ = self.b.id()
-               self.assertEquals(self.b.name, 'foo #1')
\ No newline at end of file
+               self.assertEquals(self.b.name, 'foo #1')