@patch.object(APIBlueprint, 'copy_routes')
    def test_setup_with_inheritance(self, copy_routes):
        bp = APIBlueprint('bp', __name__)
        inherited_bp = APIBlueprint('bp_v2', __name__, url_prefix='/v2', inherit_from=bp)
        copy_routes.assert_called_once_with(remapping=None)
Verify that copy routes is called when a blueprint is initialized
dataset/ETHPy150Open gwongz/flask-apiblueprint/test_apiblueprint.py/TestAPIBlueprint.test_setup_with_inheritance