Skip to content
Snippets Groups Projects
Commit 2c9330cd authored by jvfpw18's avatar jvfpw18
Browse files

Add verification data to update_from_file test

parent 00252030
Branches
No related tags found
2 merge requests!13v1.1.0,!5Add test update from file
...@@ -135,7 +135,7 @@ def test_update_from_file(): ...@@ -135,7 +135,7 @@ def test_update_from_file():
database.actions.update_from_file(csvpath, table_test, '2018', delimiters=[',', '\\n', '"']) database.actions.update_from_file(csvpath, table_test, '2018', delimiters=[',', '\\n', '"'])
table = Table(table_test, META, autoload=True, autoload_with=ENGINE) table = Table(table_test, META, autoload=True, autoload_with=ENGINE)
compare_data(table, './tests/database_test_data/verify_data_insert.csv', 'UPDATE FROM FILE VERIFICATION FAILED') compare_data(table, './tests/database_test_data/verify_data_update.csv', 'UPDATE FROM FILE VERIFICATION FAILED')
print('UPDATE FROM FILE SUCCESS!\n\n') print('UPDATE FROM FILE SUCCESS!\n\n')
def test_drop(): def test_drop():
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment