[tracker/tracker-0.12] functional-tests: Update ontology-change test to milliseconds date
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12] functional-tests: Update ontology-change test to milliseconds date
- Date: Fri, 25 Nov 2011 15:47:07 +0000 (UTC)
commit 4cfa3ad68f5d6cf003c6f1fa8bd9ef0ef645dc52
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 bbbf0ff..2e2d890 100755
--- a/tests/functional-tests/17-ontology-changes.py
+++ b/tests/functional-tests/17-ontology-changes.py
@@ -194,7 +194,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]