def METHOD_NAME(self, fake_log):
    user = UserFactory()
    PathForm(user=user)
    fake_log.warning.assert_called_with('Ignoring entry in HIDDEN_FORM_FIELDS: field \'geom\' is required on form PathForm.')