We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def test_migrate_predefined_labels(conn, timestamp_string): # step 1: clean up the labels table and predefined_labels table sql = "truncate table internal.labels" assert "successfully" in str( run_sql(conn, sql) ), "SQL output does not match expected result!" sql = "truncate table internal.predefined_labels" assert "successfully" in str( run_sql(conn, sql) ), "SQL output does not match expected result!" sql = "delete from internal.config where KEY = 'LABELS_INITED'" run_sql(conn, sql) # step 3: populate predefined_labels table sql = "CALL INTERNAL.POPULATE_PREDEFINED_LABELS();" assert run_proc(conn, sql) is None, "Stored procedure did not return NULL value!" sql = "select count(*) from internal.PREDEFINED_LABELS" output = row_count(conn, sql) assert output > 0, "SQL output " + str(output) + " does not match expected result!" # step 4: call internal.initialize_labels() sql = "call INTERNAL.INITIALIZE_LABELS()" output = str(run_sql(conn, sql)) > assert "True" in output, "SQL output" + output + " does not match expected result!" E AssertionError: SQL outputFalse does not match expected result! E assert 'True' in 'False'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: