diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-08-15 16:47:00 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-08-15 16:47:00 (GMT) |
commit | b2d40c3e077c78331bd581d199839faba97e7bd5 (patch) | |
tree | 8cf179db3f1a7a1510fcf04667c171c9e52617ba /tests | |
parent | dfcd49723178cb4c29aeb1800c7bb34d65cb9807 (diff) |
Add "timestamp" property to Artifact to fully emulate DS
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/units/datastore.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/units/datastore.py b/tests/units/datastore.py index 3253b07..339e073 100755 --- a/tests/units/datastore.py +++ b/tests/units/datastore.py @@ -95,7 +95,8 @@ class DatastoreTest(tests.Test): 'keep': False, 'mime_type': 'mime_type-1', 'tags': ['tag1', 'tag2', 'tag3'], - 'mtime': 11, + 'timestamp': 11, + 'mtime': 0, 'title': {'en': 'title-1'}, 'filesize': 1, 'traits': {'title_set_by_user': '1', 'prop': 'value-1'}, @@ -120,7 +121,8 @@ class DatastoreTest(tests.Test): 'keep': True, 'mime_type': 'mime_type-2', 'tags': ['tag4', 'tag5'], - 'mtime': 4, + 'timestamp': 4, + 'mtime': 0, 'title': {'en': 'title-2'}, 'filesize': 2, 'traits': {'title_set_by_user': '2', 'prop': 'value-2'}, |