Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2008-09-30 16:30:17 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2008-09-30 16:30:17 (GMT)
commit2f325039969506164a2c79f6e73ea7ec56ee71c1 (patch)
treef04d6fed1a5c93e9062af0da7d7926dc96106426 /tests
parent8e4d5a80c16beff4aff836a0370a569ac739fe91 (diff)
Refactor the hardlink optimization out from filestore and store the checksum as a metadata property
Diffstat (limited to 'tests')
-rw-r--r--tests/test_sugar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_sugar.py b/tests/test_sugar.py
index ab4a897..1dbb607 100644
--- a/tests/test_sugar.py
+++ b/tests/test_sugar.py
@@ -108,12 +108,14 @@ class FunctionalityTest(CommonTest):
props = self._data_store.get_properties(uid, byte_arrays=True)
del props['uid']
del props['mountpoint']
+ del props['checksum']
assert props == PROPS_WITHOUT_PREVIEW
t = self.update(uid)
props = self._data_store.get_properties(uid, byte_arrays=True)
del props['uid']
del props['mountpoint']
+ del props['checksum']
assert props == PROPS_WITH_PREVIEW
file_name = self._data_store.get_filename(uid)