19 |
19 |
20 def test_ordered_ambigous_sol(self): |
20 def test_ordered_ambigous_sol(self): |
21 self._test('Any XN ORDERBY XN WHERE X name XN', |
21 self._test('Any XN ORDERBY XN WHERE X name XN', |
22 [('OneFetchStep', [('Any XN ORDERBY XN WHERE X name XN', |
22 [('OneFetchStep', [('Any XN ORDERBY XN WHERE X name XN', |
23 [{'X': 'Basket', 'XN': 'String'}, |
23 [{'X': 'Basket', 'XN': 'String'}, |
|
24 {'X': 'ECache', 'XN': 'String'}, |
24 {'X': 'EConstraintType', 'XN': 'String'}, |
25 {'X': 'EConstraintType', 'XN': 'String'}, |
25 {'X': 'EEType', 'XN': 'String'}, |
26 {'X': 'EEType', 'XN': 'String'}, |
26 {'X': 'EGroup', 'XN': 'String'}, |
27 {'X': 'EGroup', 'XN': 'String'}, |
27 {'X': 'EPermission', 'XN': 'String'}, |
28 {'X': 'EPermission', 'XN': 'String'}, |
28 {'X': 'ERType', 'XN': 'String'}, |
29 {'X': 'ERType', 'XN': 'String'}, |
37 |
38 |
38 def test_groupeded_ambigous_sol(self): |
39 def test_groupeded_ambigous_sol(self): |
39 self._test('Any XN,COUNT(X) GROUPBY XN WHERE X name XN', |
40 self._test('Any XN,COUNT(X) GROUPBY XN WHERE X name XN', |
40 [('OneFetchStep', [('Any XN,COUNT(X) GROUPBY XN WHERE X name XN', |
41 [('OneFetchStep', [('Any XN,COUNT(X) GROUPBY XN WHERE X name XN', |
41 [{'X': 'Basket', 'XN': 'String'}, |
42 [{'X': 'Basket', 'XN': 'String'}, |
|
43 {'X': 'ECache', 'XN': 'String'}, |
42 {'X': 'EConstraintType', 'XN': 'String'}, |
44 {'X': 'EConstraintType', 'XN': 'String'}, |
43 {'X': 'EEType', 'XN': 'String'}, |
45 {'X': 'EEType', 'XN': 'String'}, |
44 {'X': 'EGroup', 'XN': 'String'}, |
46 {'X': 'EGroup', 'XN': 'String'}, |
45 {'X': 'EPermission', 'XN': 'String'}, |
47 {'X': 'EPermission', 'XN': 'String'}, |
46 {'X': 'ERType', 'XN': 'String'}, |
48 {'X': 'ERType', 'XN': 'String'}, |