def test_marking_additional_fields_as_sensitive_doesnt_affect_unrelated_models(self): assert get_sensitive_fields(Person) == {'biography', 'first_name', 'last_name', 'email', 'date_of_birth'}
def test_app_with_no_sensitive_fields_is_correctly_decorated(self): assert get_sensitive_fields(Book) == set()
def test_marking_additional_fields_as_sensitive_using_settings(self): assert get_sensitive_fields(Book) == {'title', }
def test_app_is_decorated_with_sensitive_fields(self): assert get_sensitive_fields(Person) == {'biography', 'first_name', 'last_name', 'email', 'date_of_birth'}