()
| 3 | |
| 4 | |
| 5 | def test(): |
| 6 | p = packet.Packet(packet.EVENT, 'hello') |
| 7 | start = time.time() |
| 8 | count = 0 |
| 9 | while True: |
| 10 | p = packet.Packet(encoded_packet=p.encode()) |
| 11 | count += 1 |
| 12 | if time.time() - start >= 5: |
| 13 | break |
| 14 | return count |
| 15 | |
| 16 | |
| 17 | if __name__ == '__main__': |
no test coverage detected
searching dependent graphs…