| 15 | |
| 16 | |
| 17 | class State: |
| 18 | def __init__(self): |
| 19 | self.flows = [] |
| 20 | |
| 21 | def request(self, f): |
| 22 | if f not in self.flows: |
| 23 | self.flows.append(f) |
| 24 | |
| 25 | def response(self, f): |
| 26 | if f not in self.flows: |
| 27 | self.flows.append(f) |
| 28 | |
| 29 | def websocket_start(self, f): |
| 30 | if f not in self.flows: |
| 31 | self.flows.append(f) |
| 32 | |
| 33 | |
| 34 | class TestSerialize: |
no outgoing calls
searching dependent graphs…