

def setUp(self):

    class BypassModerator(GenericModerator):
        visibility_column = 'is_public'
        bypass_moderation_after_approval = True
    setup_moderation([(ModelWithVisibilityField, BypassModerator)])
    visibility_column.user = User.objects.get(username='admin')

dataset/ETHPy150Open dominno/django-moderation/tests/tests/regression/testregressions.py BypassOverwritesUpdatedObjectRegressionTestCase.setUp/VarMisuse@39/71 `self`->`visibility_column`