()
| 180 | |
| 181 | |
| 182 | def test_simple_dns(): |
| 183 | v = view.View() |
| 184 | f = tflow.tdnsflow(resp=True, err=True) |
| 185 | assert v.store_count() == 0 |
| 186 | v.dns_request(f) |
| 187 | assert list(v) == [f] |
| 188 | |
| 189 | # These all just call update |
| 190 | v.dns_request(f) |
| 191 | v.dns_response(f) |
| 192 | v.dns_error(f) |
| 193 | assert list(v) == [f] |
| 194 | |
| 195 | |
| 196 | def test_filter(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…