

@patch.object(APIBlueprint, 'copy_routes')
def test_setup_no_inheritance(self, copy_routes):
    bp = APIBlueprint('bp', __name__)
    self.assertFalse(copy_routes.called)

dataset/ETHPy150Open gwongz/flask-apiblueprint/test_apiblueprint.py TestAPIBlueprint.test_setup_no_inheritance/original