def test_a_routing_exception_should_be_raised_if_the_route_is_not_found(self):
        class RouteImpl(Route):
            pass

        message =  'To: Benjamin <ben@example.com>, eric@foo.com, Eric <eric2@example.com>\nFrom: Ben Coe <bencoe@example.com>'
        route = RouteImpl()
        route._initialize()
        try:
            route._route(
                message_data=message
            )
            self.assertTrue(False)
        except RoutingException, re:
            self.assertTrue(str(re) in 'ben@example.com')
            self.assertTrue(True)
dataset/ETHPy150Open bcoe/smtproutes/test/test_route.py/TestRoute.test_a_routing_exception_should_be_raised_if_the_route_is_not_found/swapped operands of `in`