def test_policy_error(self):
        router = Router(object())
        try:
            router.policy = 'foo 123'
            self.fail()
        except Exception, e:
            self.assertTrue(str(e) in "Don't understand")
dataset/ETHPy150Open meejah/txtorcon/test/test_router.py/RouterTests.test_policy_error/swapped operands of `in`