def test_route_regexes_extracted_from_methods_on_class_inheriting_from_Route(self):

        class RouteImpl(Route):

            def route1(self, route=r'ben@example.com'):
                pass

            def route2(self, route=r'ben2@example.com'):
                pass

        route = RouteImpl()
        route._initialize()
        self.assertTrue(route._routes in 'ben@example.com')
        self.assertTrue('ben2@example.com' in route._routes)
dataset/ETHPy150Open bcoe/smtproutes/test/test_route.py/TestRoute.test_route_regexes_extracted_from_methods_on_class_inheriting_from_Route/swapped operands of `in`