commit 9266c10: [Test] Sigh, fucking python
Vsevolod Stakhov
vsevolod at highsecure.ru
Thu Apr 18 14:35:05 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-04-18 15:30:50 +0100
URL: https://github.com/rspamd/rspamd/commit/9266c101459dcd02b966ce2fd6de575647440190 (HEAD -> master)
[Test] Sigh, fucking python
---
test/functional/cases/210_clickhouse/clickhouse.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/functional/cases/210_clickhouse/clickhouse.py b/test/functional/cases/210_clickhouse/clickhouse.py
index 6fb5e0858..69430eb73 100644
--- a/test/functional/cases/210_clickhouse/clickhouse.py
+++ b/test/functional/cases/210_clickhouse/clickhouse.py
@@ -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):
More information about the Commits
mailing list