Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/pyblosxom/tests/unit/test_entries.py b/pyblosxom/tests/unit/test_entries.py
- index b676666..77f88b1 100644
- --- a/pyblosxom/tests/unit/test_entries.py
- +++ b/pyblosxom/tests/unit/test_entries.py
- @@ -10,7 +10,8 @@ from Pyblosxom.tools import STANDARD_FILTERS
- from Pyblosxom.pyblosxom import Request
- from Pyblosxom.entries.base import EntryBase, generate_entry
- -TIME1 = (2008, 7, 21, 12, 51, 47, 0, 203, 1)
- +# TIME1 = (2008, 7, 21, 12, 51, 47, 0, 203, 1)
- +TIME1 = time.strptime("7/21/2008 11:51:47 GMT", "%m/%d/%Y %H:%M:%S %Z")
- class TestEntryBase:
- def test_data(self):
- @@ -45,13 +46,13 @@ class TestEntryBase:
- e.setTime(TIME1)
- for mem in (("timetuple", TIME1),
- ("mtime", 1216659107.0),
- - ("ti", "12:51"),
- + ("ti", "11:51"),
- ("mo", "Jul"),
- ("mo_num", "07"),
- ("da", "21"),
- ("dw", "Monday"),
- ("yr", "2008"),
- - ("fulltime", "20080721125147"),
- + ("fulltime", "20080721115147"),
- ("date", "Mon, 21 Jul 2008"),
- ("w3cdate", "2008-07-21T16:51:47Z"),
- ("rfc822date", "Mon, 21 Jul 2008 16:51 GMT")):
Add Comment
Please, Sign In to add comment