Skip to content

Commit

Permalink
fixes to testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisteach committed Mar 11, 2017
1 parent abab285 commit fa92d54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion appJar/appjar.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def changeLanguage(self, language):
for k in widgets.keys():
ent = widgets[k]
self.updateDefaultText(k, texts.get(k, ent.DEFAULT_TEXT))
self.debug("\t\t" + k + "=" + ent.default)
self.debug("\t\t" + k + "=" + str(ent.default))
elif kind in [self.LABEL, self.BUTTON, self.CHECKBOX, self.MESSAGE, self.LINK]:
# relabel each widget
for k in widgets.keys():
Expand Down
2 changes: 1 addition & 1 deletion tests/widget_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ def test_auto_labels():
app.addLabelEntry("lab_ent")
app.addLabelNumericEntry("lab_num_ent")
app.addLabelSecretEntry("lab_sec_ent")
app.addLabelAutoEntry("lab_auto_ent")
app.addLabelAutoEntry("lab_auto_ent", LIST_ONE)
app.addLabelScale("lab_scale")
app.addLabelOptionBox("lab_opt_box", LIST_ONE)
app.addLabelTickOptionBox("lab_tick_box", LIST_ONE)
Expand Down

0 comments on commit fa92d54

Please sign in to comment.