2b940019755cebf4e31bc9ae854705b61d57a3b5,tests/integration_tests/flows/test_clickhouse.py,ClickhouseTest,test_1_initial_state,#ClickhouseTest#,146

Before Change


        self.assertTrue(TEST_PREDICTOR_NAME not in models)

        print("Test datasource exists")
        test_tables = query("show tables from test")
        test_tables = [x["name"] for x in test_tables]
        self.assertTrue(TEST_DATA_TABLE in test_tables)

        print("Test predictor table not exists")
        mindsdb_tables = query(f"show tables from {MINDSDB_DATABASE}")

After Change


        self.assertTrue(TEST_DATA_TABLE in self.get_tables_in("test_data"))

        print("Test predictor table not exists")
        mindsdb_tables = self.get_tables_in(MINDSDB_DATABASE)
        self.assertTrue(TEST_PREDICTOR_NAME not in mindsdb_tables)
        self.assertTrue("predictors" in mindsdb_tables)
        self.assertTrue("commands" in mindsdb_tables)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: mindsdb/mindsdb
Commit Name: 2b940019755cebf4e31bc9ae854705b61d57a3b5
Time: 2020-11-11
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_clickhouse.py
Class Name: ClickhouseTest
Method Name: test_1_initial_state


Project Name: mindsdb/mindsdb
Commit Name: 2b940019755cebf4e31bc9ae854705b61d57a3b5
Time: 2020-11-11
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_mariadb.py
Class Name: MariaDBTest
Method Name: test_1_initial_state


Project Name: mindsdb/mindsdb
Commit Name: 2b940019755cebf4e31bc9ae854705b61d57a3b5
Time: 2020-11-11
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_postgres.py
Class Name: PostgresTest
Method Name: test_1_initial_state