You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
proxysql/test/one_backend_test.py

11 lines
317 B

import MySQLdb
from proxysql_base_test import ProxySQLBaseTest
class OneBackendTest(ProxySQLBaseTest):
def test_select_strings_returns_correct_result(self):
rows = self.run_query_proxysql("SELECT * FROM strings", "test")
self.assertEqual(set([row[0] for row in rows]),
set(['a', 'ab', 'abc', 'abcd']))