projects
/
tools
/
python-jenkinsapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a203a0d
)
Fixed timestamp.
author
Aleksey Maksimov
<ctpeko3a@gmail.com>
Mon, 10 Jun 2013 09:00:39 +0000
(18:00 +0900)
committer
Aleksey 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
patch
|
blob
|
history
diff --git
a/jenkinsapi_tests/unittests/test_build.py
b/jenkinsapi_tests/unittests/test_build.py
index e331068026a24c897d73f3a0ea057f5552d69edf..f219ead7f2332dccc70ffb56c2d43c4069882e60 100644
(file)
--- a/
jenkinsapi_tests/unittests/test_build.py
+++ b/
jenkinsapi_tests/unittests/test_build.py
@@
-23,7
+23,7
@@
class TestTimestamps(unittest.TestCase):
'keepLog': False,
'number': 1,
'result': 'SUCCESS',
- 'timestamp': 13700
38540938
,
+ 'timestamp': 13700
42140000
,
'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')