diff --git a/tests/test_settings.py b/tests/test_settings.py index 8647b1ce..34894364 100644 --- a/tests/test_settings.py +++ b/tests/test_settings.py @@ -7,7 +7,8 @@ def test_int_apply(self): settings = {'max_query_size': 142} rv = self.client.execute( - "SELECT * FROM system.settings WHERE name = 'max_query_size'", + "SELECT name, value, changed FROM system.settings " + "WHERE name = 'max_query_size'", settings=settings ) self.assertEqual(rv, [('max_query_size', '142', 1)]) @@ -16,7 +17,7 @@ def test_float_apply(self): settings = {'totals_auto_threshold': 1.23} rv = self.client.execute( - "SELECT * FROM system.settings " + "SELECT name, value, changed FROM system.settings " "WHERE name = 'totals_auto_threshold'", settings=settings ) @@ -26,7 +27,7 @@ def test_bool_apply(self): settings = {'force_index_by_date': 2} rv = self.client.execute( - "SELECT * FROM system.settings " + "SELECT name, value, changed FROM system.settings " "WHERE name = 'force_index_by_date'", settings=settings ) @@ -36,7 +37,7 @@ def test_max_threads_apply(self): settings = {'max_threads': 100500} rv = self.client.execute( - "SELECT * FROM system.settings " + "SELECT name, value, changed FROM system.settings " "WHERE name = 'max_threads'", settings=settings ) @@ -45,7 +46,7 @@ def test_max_threads_apply(self): settings = {'max_threads': 'auto'} self.client.execute( - "SELECT * FROM system.settings " + "SELECT name, value, changed FROM system.settings " "WHERE name = 'max_threads'", settings=settings )