conduit r1792 - in branches/gnome-2-24: . test/python-tests



Author: jstowers
Date: Thu Nov  6 14:46:20 2008
New Revision: 1792
URL: http://svn.gnome.org/viewvc/conduit?rev=1792&view=rev

Log:
2008-11-06  John Stowers  <john stowers gmail com>

	* test/python-tests/TestCoreUtil.py: Fix coreutil tests



Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/test/python-tests/TestCoreUtil.py

Modified: branches/gnome-2-24/test/python-tests/TestCoreUtil.py
==============================================================================
--- branches/gnome-2-24/test/python-tests/TestCoreUtil.py	(original)
+++ branches/gnome-2-24/test/python-tests/TestCoreUtil.py	Thu Nov  6 14:46:20 2008
@@ -12,7 +12,7 @@
 
 if is_online():
     ts = Utils.get_http_resource_last_modified("http://files.conduit-project.org/Conduit-0.3.0-screencast-small.mpeg";)
-    ok("Got mtime (timestamp) of http resource", ts == 1178419656.0)
+    ok("Got mtime (timestamp) of http resource", ts == 1178459256.0)
 
     mimetype = Utils.get_http_resource_mimetype("http://files.conduit-project.org/Conduit-0.3.0-screencast-small.mpeg";)
     ok("Got mimetype of http resource", mimetype == 'video/mpeg')
@@ -63,7 +63,7 @@
 ok("user string: %s" % s, len(s) > 0 and type(s) == str)
 
 ts = 0
-dt = datetime.datetime(1970, 1, 1, 12, 0)
+dt = datetime.datetime(1970, 1, 1, 1, 0)
 ok("Datetime to unix timestamp", Utils.datetime_get_timestamp(dt) == ts)
 ok("Unix timestamp to datetime", Utils.datetime_from_timestamp(ts) == dt)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]