Skip to content

Commit

Permalink
Updated test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-MJohn committed Apr 14, 2024
1 parent 4fc07cb commit c428e0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/transport/test_tty.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def test_login_bad_password_ConnectAuthError(self):
self.terminal.read_prompt = MagicMock()
self.terminal.read_prompt.return_value = (None, "badpasswd")
self.terminal.write = MagicMock()
self.terminal._tty_close = MagicMock()
self.assertRaises(EzErrors.ConnectAuthError, self.terminal._login_state_machine)

@patch("jnpr.junos.transport.tty.sleep")
Expand Down

0 comments on commit c428e0b

Please sign in to comment.