def METHOD_NAME(data_fixture):
    user = data_fixture.create_user()
    page = data_fixture.create_builder_page()
    with pytest.raises(UserNotInWorkspace):
        PageService().duplicate_page(user, page)