Skip to content

Commit

Permalink
wintest Allow changing the telnet settings to fail, we might not be a…
Browse files Browse the repository at this point in the history
…dmin

This allows us to test logging in as non-admin users over telnet
  • Loading branch information
abartlet committed Apr 7, 2011
1 parent 36029a0 commit 9ced0df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wintest/wintest.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ def set_noexpire(self, child, username):
def run_tlntadmn(self, child):
'''remove the annoying telnet restrictions'''
child.sendline('tlntadmn config maxconn=1024')
child.expect("The settings were successfully updated")
child.expect(["The settings were successfully updated", "Access is denied"])
child.expect("C:")

def disable_firewall(self, child):
Expand Down

0 comments on commit 9ced0df

Please sign in to comment.