server/test/unittest_msplanner.py
branchstable
changeset 2165 dd40c375044e
parent 2114 862f27d94af4
child 2170 6adbc965c51b
--- a/server/test/unittest_msplanner.py	Thu Jun 25 08:26:25 2009 +0200
+++ b/server/test/unittest_msplanner.py	Thu Jun 25 11:26:46 2009 +0200
@@ -2072,6 +2072,14 @@
                      )],
                    {'x': 999999})
 
+    def test_nonregr_eid_query(self):
+        self.repo._type_source_cache[999999] = ('Note', 'cards', 999999)
+        self._test('Any X WHERE X eid 999999',
+                   [('OneFetchStep', [('Any 999999', [{}])],
+                     None, None, [self.system], {}, []
+                     )],
+                   {'x': 999999})
+
 
 
 class FakeVCSSource(AbstractSource):