[tracker/tracker-0.10] functional-tests: Update ontology-change test to milliseconds date



commit cbb24b4665eede9e3fc3b680bb461095c68c2271
Author: Ivan Frade <ivan frade gmail com>
Date:   Thu Nov 24 17:29:45 2011 +0200

    functional-tests: Update ontology-change test to milliseconds date
    
    Add milliseconds in the expected result.

 tests/functional-tests/17-ontology-changes.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/functional-tests/17-ontology-changes.py b/tests/functional-tests/17-ontology-changes.py
index 890a397..d81b59e 100755
--- a/tests/functional-tests/17-ontology-changes.py
+++ b/tests/functional-tests/17-ontology-changes.py
@@ -196,7 +196,7 @@ class PropertyRangeStringToDate (OntologyChangeTestTemplate):
 
         # Check the value is there
         result = self.tracker.query ("SELECT ?o WHERE { <%s> test:a_string ?o . }" % (self.instance))
-        self.assertEquals (result[0][0], "2010-10-12T13:30:00Z")
+        self.assertEquals (result[0][0], "2010-10-12T13:30:00.000Z")
 
 
 class PropertyRangeDateToString (OntologyChangeTestTemplate):



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