Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
make assert statement from assertFalse to assertTrue for ToggleAdvanc…
Browse files Browse the repository at this point in the history
…eOption when toggle=False

should change assert statement from assertFalse to assertTrue for ToggleAdvanceOption when toggle=False, as this statement executes when printer found if condition satisfies.
  • Loading branch information
surenderkodam committed Sep 12, 2016
1 parent ceb230e commit 50e7191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testcert.py
Expand Up @@ -1864,7 +1864,7 @@ def testLocalDiscoveryToggle(self):
if self.printer in k:
printer_found = True
try:
self.assertFalse(mdns_browser.listener.discovered[k]['found'])
self.assertTrue(mdns_browser.listener.discovered[k]['found'])
except AssertionError:
notes = 'Local Discovery not disabled.'
failed = True
Expand Down

0 comments on commit 50e7191

Please sign in to comment.