Skip to content

Commit

Permalink
Update testing #216
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisteach committed Sep 17, 2017
1 parent 8d45c41 commit a5c27f4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tests/widget_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,9 @@ def click(area):

assert isinstance(app.addImage("im3", "1_checks.png"), PhotoImage)
assert isinstance(app.addImage("im4", "sc.jpg"), PhotoImage)
app.getImageDimensions("im3")
dat = app.getImageDimensions("im3")
assert dat[0] == 115
assert dat[1] == 146

# jpeg...

Expand Down Expand Up @@ -2637,7 +2639,7 @@ def test_gui2(btn=None):

print("<<<Starting app2>>>")

app2 = gui()
app2 = gui(warn=True)
app2.addStatusbar()
app2.setStatusbar("a")
app2.addToolbar("a", tester_function, True)
Expand Down Expand Up @@ -2687,7 +2689,7 @@ def test_gui2(btn=None):
print("<<<Widget Test Suite Complete on app2 >>>")

print("<<<Starting app3>>>")
with gui() as app3:
with gui(debug=True) as app3:
app3.addStatus(TEXT_ONE, 1, "LEFT")
with app3.tabbedFrame("tf"):
with app3.tab("t1"):
Expand Down

0 comments on commit a5c27f4

Please sign in to comment.