129 ')') |
129 ')') |
130 self.assertEquals(str(ex), 'query fetch some source mapped attribute, some not') |
130 self.assertEquals(str(ex), 'query fetch some source mapped attribute, some not') |
131 ex = self.assertRaises(QueryError, self.execute, |
131 ex = self.assertRaises(QueryError, self.execute, |
132 '(Any D WHERE X data D, X is File)' |
132 '(Any D WHERE X data D, X is File)' |
133 ' UNION ' |
133 ' UNION ' |
134 '(Any D WHERE X data D, X is Image)') |
134 '(Any D WHERE X title D, X is Bookmark)') |
135 self.assertEquals(str(ex), 'query fetch some source mapped attribute, some not') |
135 self.assertEquals(str(ex), 'query fetch some source mapped attribute, some not') |
136 ex = self.assertRaises(QueryError, |
136 ex = self.assertRaises(QueryError, |
137 self.execute, 'Any D WHERE X data D') |
137 self.execute, 'Any D WHERE X data D') |
138 self.assertEquals(str(ex), 'query fetch some source mapped attribute, some not') |
138 self.assertEquals(str(ex), 'query fetch some source mapped attribute, some not') |
139 |
139 |