[tracker] functional-tests: Update ontology-change test to milliseconds date
- From: Ivan Frade <ifrade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] functional-tests: Update ontology-change test to milliseconds date
- Date: Thu, 24 Nov 2011 15:33:35 +0000 (UTC)
commit 9878629568d5bfb12edbce330dc9aba4a3161edd
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]