2b940019755cebf4e31bc9ae854705b61d57a3b5,tests/integration_tests/flows/test_mariadb.py,MariaDBTest,test_1_initial_state,#MariaDBTest#,125

Before Change



        print("Test datasource exists")
        test_tables = fetch("show tables from test_data", as_dict=False)
        test_tables = [x[0] for x in test_tables]
        self.assertTrue(TEST_DATA_TABLE in test_tables)

        print("Test predictor table not exists")
        mindsdb_tables = fetch(f"show tables from {MINDSDB_DATABASE}", as_dict=False)
        mindsdb_tables = [x[0] for x in mindsdb_tables]
        self.assertTrue(TEST_PREDICTOR_NAME not in mindsdb_tables)

        print("mindsdb.predictors table exists")

After Change


        print("Test mindsdb tables exists")
        self.assertTrue(TEST_DATA_TABLE in self.get_tables_in("test_data"))

        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: 3

Instances


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


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