conduit r1791 - in trunk: . test/python-tests
- From: jstowers svn gnome org
- To: svn-commits-list gnome org
- Subject: conduit r1791 - in trunk: . test/python-tests
- Date: Thu, 6 Nov 2008 14:45:59 +0000 (UTC)
Author: jstowers
Date: Thu Nov 6 14:45:58 2008
New Revision: 1791
URL: http://svn.gnome.org/viewvc/conduit?rev=1791&view=rev
Log:
2008-11-06 John Stowers <john stowers gmail com>
* test/python-tests/TestCoreUtil.py: Fix coreutil tests
Modified:
trunk/ChangeLog
trunk/test/python-tests/TestCoreUtil.py
Modified: trunk/test/python-tests/TestCoreUtil.py
==============================================================================
--- trunk/test/python-tests/TestCoreUtil.py (original)
+++ trunk/test/python-tests/TestCoreUtil.py Thu Nov 6 14:45:58 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]