plonegovbr / brasil.gov.agenda

Pacote de Agenda para Membros do Governo Brasileiro
https://plone.org.br/gov/
3 stars 2 forks source link

Review tests #84

Closed rodfersou closed 6 years ago

rodfersou commented 6 years ago

hey, that's weird.. locally tests break

rodfersou commented 6 years ago

@idgserpro can you give me a light why this is breaking locally, but not on travis?

hvelarde commented 6 years ago

probably because of this:

https://github.com/plonegovbr/brasil.gov.agenda/blob/master/.travis.yml#L13-L15

idgserpro commented 6 years ago

As @hvelarde said, try to set PLONE_CSRF_DISABLED=true in your shell before running the tests and see if they pass.

IIRC, lots of CSRF gives false positives in tests. Don't remeber where this was discussed in the community.

rodfersou commented 6 years ago

thanks for the light @hvelarde and @idgserpro

rodfersou commented 6 years ago

finally green