Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
06d2ae246e | |||
391c3f7824 |
1
.github/workflows/tests.yml
vendored
1
.github/workflows/tests.yml
vendored
@ -17,6 +17,7 @@ jobs:
|
|||||||
- '3.9'
|
- '3.9'
|
||||||
- '3.10'
|
- '3.10'
|
||||||
- '3.11'
|
- '3.11'
|
||||||
|
- '3.12'
|
||||||
|
|
||||||
name: Python ${{ matrix.python-version }}
|
name: Python ${{ matrix.python-version }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -68,6 +68,6 @@ class ProtocolTest(unittest.TestCase):
|
|||||||
|
|
||||||
# 2nd call of keep_alive should close the transport
|
# 2nd call of keep_alive should close the transport
|
||||||
self.protocol.keep_alive()
|
self.protocol.keep_alive()
|
||||||
assert mock_transport.close.called_once()
|
mock_transport.close.assert_called_once()
|
||||||
|
|
||||||
self.protocol.connection_lost(None)
|
self.protocol.connection_lost(None)
|
||||||
|
Loading…
Reference in New Issue
Block a user