From d0aba55b0c34240067f71c060e59cdf2d7cc0f17 Mon Sep 17 00:00:00 2001 From: Ivan Ladelshchikov Date: Fri, 6 Apr 2018 13:09:48 +0400 Subject: [PATCH] tests: fix Distributed with bad cluster name for v1.1.54370 --- tests/test_engines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_engines.py b/tests/test_engines.py index 8818815..47b4cd6 100644 --- a/tests/test_engines.py +++ b/tests/test_engines.py @@ -166,8 +166,8 @@ class DistributedTestCase(_EnginesHelperTestCase): return TestDistributedModel def test_bad_cluster_name(self): - d_model = self._create_distributed('cluster_name') with self.assertRaises(ServerError) as cm: + d_model = self._create_distributed('cluster_name') self.database.count(d_model) exc = cm.exception