Server-tools: [10.0] sentry: Tests failing

Created on 14 Dec 2017  ·  2Comments  ·  Source: OCA/server-tools

Two of the unit tests in the sentry module are currently failing, as can be seen here: https://travis-ci.org/OCA/server-tools/jobs/316634324. I've replicated this issue locally using the 10.0 branch and confirmed that it is not related to auth_totp.

@lasley

bug

Most helpful comment

I think this is due to the fact that the FIELDS class attribute has been renamed to KEYS in raven 6.4.0.

I think it might be enough to add a KEYS class attribute on SanitizeOdooCookiesProcessor pointing to FIELDS (to maintain backwards compatibility with older versions of Raven).

I will test it and hopefully make a fix tomorrow.

This should affect #1023 as well.

All 2 comments

I think this is due to the fact that the FIELDS class attribute has been renamed to KEYS in raven 6.4.0.

I think it might be enough to add a KEYS class attribute on SanitizeOdooCookiesProcessor pointing to FIELDS (to maintain backwards compatibility with older versions of Raven).

I will test it and hopefully make a fix tomorrow.

This should affect #1023 as well.

@pedrobaeza, OK to close?

Was this page helpful?
0 / 5 - 0 ratings