2b940019755cebf4e31bc9ae854705b61d57a3b5,tests/integration_tests/flows/test_postgres.py,PostgresTest,test_2_insert_predictor,#PostgresTest#,152

Before Change


        self.assertTrue(res[0]["status"] == "complete")

        print("predictor table in mindsdb db")
        mindsdb_tables = query(f"SELECT table_name as name FROM information_schema.tables WHERE table_schema = "{MINDSDB_DATABASE}"", fetch=True)
        mindsdb_tables = [x["name"] for x in mindsdb_tables]
        self.assertTrue(TEST_PREDICTOR_NAME in mindsdb_tables)

    def test_3_externael_ds(self):

After Change


        )

        print("predictor record in mindsdb.predictors")
        res = fetch(f"select status from {MINDSDB_DATABASE}.predictors where name = "{TEST_PREDICTOR_NAME}"")
        self.assertTrue(len(res) == 1)
        self.assertTrue(res[0]["status"] == "complete")

        print("predictor table in mindsdb db")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 2

Instances


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_2_insert_predictor


Project Name: mindsdb/mindsdb
Commit Name: a0d51d5cf3f3a0839f6b56bab6e22036fbdf8e1b
Time: 2020-10-26
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_mariadb.py
Class Name: MariaDBTest
Method Name: test_2_insert_predictor


Project Name: mindsdb/mindsdb
Commit Name: a0d51d5cf3f3a0839f6b56bab6e22036fbdf8e1b
Time: 2020-10-26
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_mariadb.py
Class Name: MariaDBTest
Method Name: test_3_externael_ds


Project Name: mindsdb/mindsdb
Commit Name: a0d51d5cf3f3a0839f6b56bab6e22036fbdf8e1b
Time: 2020-10-26
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_mariadb.py
Class Name: MariaDBTest
Method Name: test_4_query_predictor


Project Name: mindsdb/mindsdb
Commit Name: a0d51d5cf3f3a0839f6b56bab6e22036fbdf8e1b
Time: 2020-10-26
Author: stpmax@yandex.ru
File Name: tests/integration_tests/flows/test_mariadb.py
Class Name: MariaDBTest
Method Name: test_5_range_query