mirror of
https://github.com/Infinidat/infi.clickhouse_orm.git
synced 2024-11-22 00:56:34 +03:00
Fix tests for ClickHouse v20.3
This commit is contained in:
parent
54c67f2777
commit
27eac13767
|
@ -39,7 +39,7 @@ class ReadonlyTestCase(TestCaseWithData):
|
|||
self.assertEqual(exc.code, 164)
|
||||
print(exc.message)
|
||||
if self.database.server_version >= (20, 3):
|
||||
self.assertTrue(exc.message.startswith('default: Cannot execute query in readonly mode'))
|
||||
self.assertTrue('Cannot execute query in readonly mode' in exc.message)
|
||||
elif drop_table:
|
||||
self.assertTrue(exc.message.startswith('Cannot drop table in readonly mode'))
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user