-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Bug fixes: Erroring tests - Bug fixes: Failing tests - Update: misc comments / todos - Update: Increased speed of test_backend.py by moving an import that takes time. - Add: New test_cset_version_enclave_to_db__raises_err(). Currently deactivated, though. Split this out of a different test. - Update: Moved IntegrityError tests for each major object type / table to its own test method, and abstracted common logic to _raises_err_on_duplicate_insert_test(). General - Update: Fixed some errors in unused code, just to help with development flow, to actually know how many errors exist in a given file (e.g. graph.py). - Add: Some missing type definitions - Delete: Some old, outdated comments - Delete: Unused code / features: csets_read(), csets_git_update(), vocab_update(), csets_update() - Update: Optimized a query in _current_counts_and_deltas() - Update: counts_compare_schemas(): Now returns None if is asked to compare against most recent backup but there is no backup. If asked to compare a schema that doesn't exist, now throws an error instead of populating 0's in the rows for that schema name. Fixed a bug where temporary _old and _new tables would be detected during mid-refresh, and then it would check counts for those tables, but they had been deleted, so it would error. - Refactor: run_sql() and sql_query(): To be clearer. Moved these heavily related functions next to each other. In fact, sql_query() now calls run_sql(). run_sql() was part of sql_query(); it was running the exact same code, just with different variable names. Added clarifying comments.
- Loading branch information
Showing
15 changed files
with
300 additions
and
309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.