(self)
| 668 | assert f.error is not f2.error |
| 669 | |
| 670 | def test_match(self): |
| 671 | f = tflow(resp=True) |
| 672 | assert not flowfilter.match("~b test", f) |
| 673 | assert flowfilter.match(None, f) |
| 674 | assert not flowfilter.match("~b test", f) |
| 675 | |
| 676 | f = tflow(err=True) |
| 677 | assert flowfilter.match("~e", f) |
| 678 | |
| 679 | with pytest.raises(ValueError): |
| 680 | flowfilter.match("~", f) |
| 681 | |
| 682 | def test_backup(self): |
| 683 | f = tflow() |