rapidpro / tracpro

Polls dashboard for RapidPro
BSD 3-Clause "New" or "Revised" License
3 stars 8 forks source link

Test failures in profiles.UserCRUDLTest.test_self #12

Closed emullaney closed 9 years ago

emullaney commented 9 years ago

The following lines in test_self() fail. Please advise. Thank you.

https://github.com/rapidpro/tracpro/blob/master/tracpro/profiles/tests.py#L243-252 https://github.com/rapidpro/tracpro/blob/master/tracpro/profiles/tests.py#L261-262

rowanseymour commented 9 years ago

Not seen that before. Can you debug and see which asserts are failing and why?

emullaney commented 9 years ago

Spent quite a bit of time debugging but didn't get very far. I outlined all failures above but here's a little more info.

User is anonymous on these lines, which leads to a 302 and no form found. https://github.com/rapidpro/tracpro/blob/master/tracpro/profiles/tests.py#L243-252

Do tests succeed for you?

rowanseymour commented 9 years ago

Not seen this error before and the CI build is passing: https://travis-ci.org/rapidpro/tracpro

Can you try rebuilding your virtualenv from pip-freeze.txt in case you've got an incorrect dependency?

ghost commented 9 years ago

We managed to resolve this issue. I think it had a lot to do with settings configurations.