Skip to content

Commit

Permalink
update test_widgets with recent code change.
Browse files Browse the repository at this point in the history
  • Loading branch information
zztin committed May 31, 2021
1 parent 5b1e4f6 commit c64b85c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def controller():
db_path_debug = utils.get_cache_filepath(None, debug=True)
db_file_debug = f"{db_path_debug}/ctimer_debug_2021.db"
db.create_connection(db_file_debug)
current_clock_details = db.Clock_details()
current_clock_details = db.Clock_details(db_file_debug)

tk_root = tk.Tk()
tk_root.wait_visibility()
Expand All @@ -39,7 +39,7 @@ def test_init(controller):
assert type(tv) is CtimerClockView
assert type(tm) is CtimerClockModel

assert tm.clock_details.reached_bool == "Not Updated"
assert tm.clock_details.reached_bool == False
assert tm.clock_details.reason == "N.A."


Expand Down

0 comments on commit c64b85c

Please sign in to comment.