Skip to content

Commit

Permalink
JP-0 | feat: support for pythjon3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Novichkov committed Dec 28, 2023
1 parent 7a88415 commit 4867871
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/unit/test_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@


class TestConsole(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.open = tty_netconf.open

@classmethod
def tearDownClass(cls):
tty_netconf.open = cls.open

@patch("jnpr.junos.transport.tty_telnet.Telnet._tty_open")
@patch("jnpr.junos.transport.tty_telnet.telnetlib.Telnet.expect")
@patch("jnpr.junos.transport.tty_telnet.Telnet.write")
Expand Down

0 comments on commit 4867871

Please sign in to comment.