Closed ratson closed 4 years ago
Hey, thanks for the PR's - could you have a look at the test cases and make the python manage.py test askbot.tests run in one go? I think the issue is with the page_page_load tests.
This pr 725 I'll merge after testing tonight.
@evgenyfadeev I find that tests askbot/tests/test_thread_model.py
and askbot/tests/test_permission_assertions.py
are failing regardless this PR.
The error is
PermissionDenied: Sorry, you cannot join or leave groups because your account is blocked.</br> Your account might be blocked in error - please contact the site administrators, if you think so.
@ratson I know, these tests have nothing to do with this PR. The tests actually pass when they are run separately. The issue is that there is some state carry-over from one test to another, just asked for you to have a look if you want. Otherwise - never mind.
The problem with the tests arises from SQLite. It has been reported in https://github.com/ASKBOT/askbot-devel/issues/711 and I am circumventing it by using Postgresql. I only started reading through PRs. I have a similar patch included in https://github.com/ASKBOT/askbot-devel/pull/792
As
loading.app_cache_ready
is deprecated.