Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/units/node/volume.py
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@sugarlabs.org>2014-02-03 10:08:50 (GMT)
committer Aleksey Lim <alsroot@sugarlabs.org>2014-02-03 10:08:50 (GMT)
commitb4b008c1f302059221a1a43ed237e6d562ec7f97 (patch)
tree1c8b4dd71d6c165c461bbefe0847154ea333b91b /tests/units/node/volume.py
parent726ac1d66321ee7ac6b4cc7eff17001b5aeb6c5e (diff)
Keep Post comments in aggregated property
Diffstat (limited to 'tests/units/node/volume.py')
-rwxr-xr-xtests/units/node/volume.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/units/node/volume.py b/tests/units/node/volume.py
index 512b3e0..01e71a7 100755
--- a/tests/units/node/volume.py
+++ b/tests/units/node/volume.py
@@ -325,7 +325,10 @@ class VolumeTest(tests.Test):
def test_merge_MultipleCommits(self):
class Document(db.Resource):
- pass
+
+ @db.stored_property()
+ def prop(self, value):
+ return value
self.touch(('db/seqno', '100'))
volume = db.Volume('db', [Document])