Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBenjamin Saller <bcsaller@objectrealms.net>2007-07-17 00:03:00 (GMT)
committer Benjamin Saller <bcsaller@objectrealms.net>2007-07-17 00:03:00 (GMT)
commit0cda1d5967f9ef41178be44e0751f3babe0d210b (patch)
treec7f5d98f392f6dc690226cd581b54b9d1b6c0756 /tests
parentd26583e7d16cc3d91dfd58f8dced8969a5425d64 (diff)
make sure non-model properties make it into the result set
Diffstat (limited to 'tests')
-rw-r--r--tests/test_model.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_model.py b/tests/test_model.py
index 618c5cb..bb30426 100644
--- a/tests/test_model.py
+++ b/tests/test_model.py
@@ -113,6 +113,12 @@ class Test(unittest.TestCase):
ds.complete_indexing()
assert ds.find('whodofoodo')[1] == 1
+ c = ds.get_properties(uid)
+ assert 'foobar' in c
+ assert 'title' in c
+ # maps back w/o the type
+ assert 'incept' in c
+
ds.stop()