@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)
Comic chosen from quick panel.
dataset/ETHPy150Open gwongz/flask-apiblueprint/test_apiblueprint.py/TestAPIBlueprint.test_setup_with_inheritance--crossover with--dataset/ETHPy150Open eivind88/xkcd/xkcd.py/XkcdGetComicCommand.on_chosen