Commit Graph
124 Commits
Author SHA1 Message Date
chris 69bd039c83 Fix dummy table name 2026-03-07 22:14:19 -05:00
chris 0b623e6bb3 Remove unused doctest, only sleep if not last year to process 2026-03-07 22:13:37 -05:00
chris fc52bf17fa Reorganize imports 2026-03-07 22:12:14 -05:00
chris 9a3ebe2d5c Clean up imports, complete get_missing_records 2026-03-06 14:50:52 -05:00
chris 35ce601fbc Add record_type as a callable to object building function 2026-03-06 14:49:55 -05:00
chris 90358a2efc New records added to each table 2026-03-06 14:49:10 -05:00
chris 8763cd4b11 Change to sqlalchemy exception 2026-03-06 14:48:03 -05:00
chris 4a79b92545 Use correct ORM syntax to get proper return values 2026-03-06 00:16:40 -05:00
chris 52a5964237 Add parameter name to calls 2026-03-06 00:15:38 -05:00
chris fe2fa4f9cb Update return types, start get_missing_records function 2026-03-05 18:42:00 -05:00
chris 3e6cb29425 Update check_table_name function to pass tests 2026-03-05 18:40:53 -05:00
chris f4adb27cc6 Update tests to extend check_table_name 2026-03-05 18:40:25 -05:00
chris 43eb34ea7e Test code to populate tables 2026-03-05 18:39:02 -05:00
chris 12e5108e25 Add test_get_missing_records test 2026-03-05 15:26:27 -05:00
chris 44e941f9ee Add information about number of drawings per year 2026-03-05 11:13:10 -05:00
chris 72a1ce6b81 Change to new util function for table name test, add get_recent_draw_date function 2026-03-05 11:04:19 -05:00
chris 52944a53ab Add test_get_recent_draw_date test 2026-03-05 11:03:48 -05:00
chris 0e710f09c5 Add check_table_name function 2026-03-05 10:56:43 -05:00
chris ae509537ed Add test_check_table_name test 2026-03-05 10:56:20 -05:00
chris c917ee73b5 Updated records 2026-03-05 10:49:23 -05:00
chris b9af70bbd1 Add first module function 2026-03-05 10:49:01 -05:00
chris 616c9823b5 Add first test of lottery_predictor module 2026-03-05 10:48:35 -05:00
chris 3b9dee225d Add get_previous_draw_date function 2026-03-05 10:46:38 -05:00
chris 96974cae2c Add tests for previous draw date function 2026-03-05 10:46:00 -05:00
chris 08491297e3 Add try/except to catch error when site is unavailable 2026-03-04 20:41:58 -05:00
chris 97635dd3f2 Change varible import to new util function 2026-03-04 20:11:11 -05:00
chris fae5128f06 Remove print line 2026-03-04 20:10:17 -05:00
chris 1dbcb252e3 Change varible import to new util function 2026-03-04 20:09:25 -05:00
chris 16dd4ad287 Remove dotenv, add util.environment and test of variable load 2026-03-04 20:08:28 -05:00
chris f9400ee92d Update variable names to be project specific 2026-03-04 14:35:39 -05:00
chris d7c22e9581 Add utility function to load all variables 2026-03-04 14:34:37 -05:00
chris a706448846 Add alembic revision and update db 2026-03-04 13:58:11 -05:00
chris e11de4128a Update to-do list 2026-03-04 13:57:27 -05:00
chris 993688e689 Add get_mega_millions_object function 2026-03-04 13:41:05 -05:00
chris 3423a5fb43 Add tests for mega millions table 2026-03-04 13:40:32 -05:00
chris 823a3ca4e9 Add test for mega millions object 2026-03-04 13:39:50 -05:00
chris dca8a4244e Add MegaMillionsDraw to test config 2026-03-04 12:57:35 -05:00
chris c157dcba28 Add Mega Millions table to the database 2026-03-04 12:52:19 -05:00
chris a1c5bd951b Add game ball max number vars 2026-03-04 12:44:19 -05:00
chris f41e88ac69 Add powerball scrape and insert test 2026-03-02 19:14:51 -05:00
chris 9992abb8a2 Remove extra unused code, test new powerball object function 2026-03-02 19:09:33 -05:00
chris b8ce4ac078 Add get_powerball_object function 2026-03-02 19:08:24 -05:00
chris a0c22807f3 Update dunder method test 2026-03-02 18:26:16 -05:00
chris 039c6f5aa8 Clean up live database 2026-03-02 17:11:00 -05:00
chris 2e4ec892a0 Create new tests of Powerball table using new config 2026-03-02 17:10:12 -05:00
chris 2b950d47ec Add database test configuration script 2026-03-02 17:09:44 -05:00
chris 5bfdb6d457 Remove project name to address error 2026-03-02 17:08:29 -05:00
chris 4e6cb86806 Remove old buggy db tests 2026-03-02 17:07:46 -05:00
chris ae4aa1203e Mark ToDo #2 complete 2026-03-02 15:14:48 -05:00
chris 03c15709e0 Update environment variables 2026-03-01 12:29:32 -05:00