From 1e71a4d8256b41bf900bed62a18a988c970815b3 Mon Sep 17 00:00:00 2001
From: Leonardo Rochael Almeida <leonardo@nexedi.com>
Date: Tue, 8 Nov 2011 17:41:39 +0100
Subject: [PATCH] Expect RELATED_QUERY_SEPARATOR in related query tests

---
 product/ZSQLCatalog/tests/testSQLCatalog.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ZSQLCatalog/tests/testSQLCatalog.py b/product/ZSQLCatalog/tests/testSQLCatalog.py
index 576eb51a39..cbe41f838a 100644
--- a/product/ZSQLCatalog/tests/testSQLCatalog.py
+++ b/product/ZSQLCatalog/tests/testSQLCatalog.py
@@ -202,6 +202,7 @@ class DummyCatalog(SQLCatalog):
     assert 'query_table' in kw
     assert 'table_0' in kw
     assert 'table_1' in kw
+    assert 'AND' in kw.pop('RELATED_QUERY_SEPARATOR')
     assert len(kw) == 4
     return '%(table_0)s.uid = %(query_table)s.uid AND %(table_0)s.other_uid = %(table_1)s' % kw
 
-- 
2.30.9