Compare commits

...
2 Commits
Author SHA1 Message Date
Nigel 06d2ae246e add workflow test for python 3.12 2024-01-29 14:24:48 +01:00
Nigel 391c3f7824 fix protocol unit test for python3.12 2024-01-29 14:22:31 +01:00
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -17,6 +17,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
name: Python ${{ matrix.python-version }}
steps:
+1 -1
View File
@@ -68,6 +68,6 @@ class ProtocolTest(unittest.TestCase):
# 2nd call of keep_alive should close the transport
self.protocol.keep_alive()
assert mock_transport.close.called_once()
mock_transport.close.assert_called_once()
self.protocol.connection_lost(None)
+1
View File
@@ -6,6 +6,7 @@ deps=
pytest-asyncio
pytest-mock
dlms_cosem
setuptools
commands=
py.test --cov=dsmr_parser test {posargs}
pylama dsmr_parser test