Skip to content

Commit

Permalink
Make tests work again
Browse files Browse the repository at this point in the history
  • Loading branch information
petterroea committed Aug 14, 2023
1 parent 0d6d70e commit 015268d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_conn.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ def test_relookup_on_failure():
conn.connect()
m.assert_called_once_with(hostname, port, 0, socket.SOCK_STREAM)
assert conn.disconnected()
assert conn.last_activity > last_activity

afi2 = socket.AF_INET
sockaddr2 = ('127.0.0.2', 9092)
Expand All @@ -320,6 +319,7 @@ def test_relookup_on_failure():
assert conn._sock_afi == afi2
assert conn._sock_addr == sockaddr2
conn.close()
assert conn.last_activity > last_activity


def test_requests_timed_out(conn):
Expand Down

0 comments on commit 015268d

Please sign in to comment.