-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Issue #307 TOTAL_DIR for VL1L2, VAL1L2, and VCNT linetypes * Issue #307 added TOTAL_WIND to VL1L2, VAL1L2, and VCNT * Issue #307 initial commit of test for VL1L2, VAL1L2, and VCNT for the TOTAL_DIR column * issue #307 config file for tests * issue #307 modify setup_db to return the connection object instead of the database settings * modify setup to return only the database data class * updated to separate the hostname from the port in the config file and return the connection object in the setup code * update to separate the host and port and simplify test setup code * fix indentation and complete the try-finally block * add test to check if db is created and fix test for tables test * added test for presence of the mv_load_test DB * Added test to check for the total_dir column in the VL1L2, VAL1L2, and VCNT linetype tables * Clean up extraneous blank lines * Sample data for testing --------- Co-authored-by: Minna Win <minnawin@mohawk.rap.ucar.edu>
- Loading branch information
Showing
7 changed files
with
205 additions
and
76 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
DELIMITER | | ||
|
||
|
||
ALTER TABLE line_data_vcnt | ||
ADD COLUMN total_dir DOUBLE | | ||
|
||
ALTER TABLE line_data_val1l2 | ||
ADD COLUMN total_dir DOUBLE | | ||
|
||
ALTER TABLE line_data_vl1l2 | ||
ADD COLUMN total_dir DOUBLE | | ||
|
||
DELIMITER ; |
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
hostname: 'localhost' | ||
port: 3306 | ||
username: 'mvadmin' | ||
password: '160GiltVa0D5M' | ||
dbname: 'mv_load_test' | ||
output_dir: './output' | ||
|
Oops, something went wrong.