Sfoglia il codice sorgente

Fix failing tests on Python 3.8

Signed-off-by: Stan Janssen <stan.janssen@elaad.nl>
Stan Janssen 3 anni fa
parent
commit
619507fbaa
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      test/test_reports.py

+ 1 - 0
test/test_reports.py

@@ -565,6 +565,7 @@ async def test_different_on_register_report_handlers(caplog):
     await server.run()
     await client.create_party_registration()
     assert client.ven_id == 'ven123'
+    caplog.clear()
 
     await client.register_reports(client.reports)
     assert len(client.report_requests) == 0