mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2024-11-24 18:03:42 +03:00
Fix test in for latest clickhouse version
This commit is contained in:
parent
f084b6e95f
commit
e97e48a695
|
@ -275,5 +275,10 @@ class DatabaseTestCase(TestCaseWithData):
|
|||
self.assertTrue(model.is_read_only())
|
||||
self.assertEqual(model.table_name(), row.name)
|
||||
# Read a few records
|
||||
try:
|
||||
list(model.objects_in(self.database)[:10])
|
||||
|
||||
except ServerError as e:
|
||||
if 'Not enough privileges' in e.message:
|
||||
pass
|
||||
else:
|
||||
raise
|
||||
|
|
Loading…
Reference in New Issue
Block a user