server/test/unittest_ssplanner.py
branchstable
changeset 3587 5b3725f315fc
parent 3252 c0e10da6f1cf
child 3589 a5432f99f2d9
child 4212 ab6573088b4a
--- a/server/test/unittest_ssplanner.py	Wed Oct 07 11:33:38 2009 +0200
+++ b/server/test/unittest_ssplanner.py	Wed Oct 07 11:45:39 2009 +0200
@@ -25,19 +25,19 @@
         BasePlannerTC.tearDown(self)
 
     def test_ordered_ambigous_sol(self):
-        self._test('Any XN ORDERBY XN WHERE X name XN, X is IN (Basket, File, Folder)',
-                   [('OneFetchStep', [('Any XN ORDERBY XN WHERE X name XN, X is IN(Basket, File, Folder)',
+        self._test('Any XN ORDERBY XN WHERE X name XN, X is IN (Basket, State, Folder)',
+                   [('OneFetchStep', [('Any XN ORDERBY XN WHERE X name XN, X is IN(Basket, State, Folder)',
                                        [{'X': 'Basket', 'XN': 'String'},
-                                        {'X': 'File', 'XN': 'String'},
+                                        {'X': 'State', 'XN': 'String'},
                                         {'X': 'Folder', 'XN': 'String'}])],
                      None, None,
                      [self.system], None, [])])
 
     def test_groupeded_ambigous_sol(self):
-        self._test('Any XN,COUNT(X) GROUPBY XN WHERE X name XN, X is IN (Basket, File, Folder)',
-                   [('OneFetchStep', [('Any XN,COUNT(X) GROUPBY XN WHERE X name XN, X is IN(Basket, File, Folder)',
+        self._test('Any XN,COUNT(X) GROUPBY XN WHERE X name XN, X is IN (Basket, State, Folder)',
+                   [('OneFetchStep', [('Any XN,COUNT(X) GROUPBY XN WHERE X name XN, X is IN(Basket, State, Folder)',
                                        [{'X': 'Basket', 'XN': 'String'},
-                                        {'X': 'File', 'XN': 'String'},
+                                        {'X': 'State', 'XN': 'String'},
                                         {'X': 'Folder', 'XN': 'String'}])],
                      None, None,
                      [self.system], None, [])])