]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Sigh, fucking python
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 Apr 2019 14:30:50 +0000 (15:30 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 18 Apr 2019 14:30:50 +0000 (15:30 +0100)
test/functional/cases/210_clickhouse/clickhouse.py

index 6fb5e08580523d62c4fe04d6e5bffa745358d168..69430eb735cb60fc503c875d68f1eb1747f53a06 100644 (file)
@@ -67,7 +67,7 @@ def schema_version_should_be(version):
     r = client().query(sql)
     logger.info("response: %s" % str(r))
     if r[0]['version'] != int(version):
-        raise Exception("Failed asseting that schema version is %d, %d schema version in ClickHouse" % (version, r[0]['version']))
+        raise Exception("Failed asseting that schema version is %d, %d schema version in ClickHouse" % (int(version), int(r[0]['version'])))
 
 
 def assert_rows_count(table_name, number):