Browse Source

[beeswax] Fix mock db after table autocomplete change

Romain Rigaux 12 năm trước cách đây
mục cha
commit
4a613f1
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      apps/beeswax/src/beeswax/tests.py

+ 3 - 0
apps/beeswax/src/beeswax/tests.py

@@ -1484,6 +1484,9 @@ class MockDbms:
   def get_databases(self):
     return ['default', 'test']
 
+  def get_tables(self, database):
+    return ['table1', 'table2']
+
 
 class TestWithMockedServer(object):