(self, first, second, msg=None)
| 3416 | ) |
| 3417 | |
| 3418 | def assert_in(self, first, second, msg=None): |
| 3419 | if first not in second: |
| 3420 | if not msg: |
| 3421 | raise AssertionError("%s is not in %s." % (first, second)) |
| 3422 | else: |
| 3423 | raise AssertionError( |
| 3424 | "%s is not in %s. (%s)" % (first, second, msg) |
| 3425 | ) |
| 3426 | |
| 3427 | def assert_not_in(self, first, second, msg=None): |
| 3428 | if first in second: |
no outgoing calls