Skip to content

Commit

Permalink
add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
karenhaining committed Aug 29, 2024
1 parent 13d87b7 commit ee7e500
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/integration_test/test_sql_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,10 @@ def test_adms(setup, adm):
norm_name = yang_to_sql(adm_set.load_from_file(filepath).norm_name)
sql_file = os.path.join(ADMS_DIR, "amp-sql", "Agent_Scripts", 'adm_{name}.sql'.format(name=norm_name))
with open(sql_file, "r") as f:
cursor.execute(f.read())

# TODO Karen remove debug
content = f.read()
print(content)

cursor.execute(content)
cursor.execute("rollback")

0 comments on commit ee7e500

Please sign in to comment.