-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testing treemenus in a project #2
Comments
Thanks for reporting this issue and posting a fix. May I ask which database you're using (postgres, sqlite, etc.) when those test fail? |
i'm using sqlite for testing. |
I'm afraid I can't reproduce the issues you're reporting here. I've tried with sqlite and all tests pass... |
Same problem, using Django 1.3.1 and PostgreSQL (Psycopg 2.4.1 since 2.4.2 is broken with Django 1.3.x) |
hi, in django 1.6 treemenus work fine, but i'm upgrade to django 1.8 and had this error: cannot import name TOKEN_BLOCK regards |
@ramonrxven I suppose this is a separate issue. Could you create a separate ticket? |
hi,
I'm using the github-version of treemenus in my django project and want to run the tests in context of the project. to make it short: it doesn't work. long story:
1st. not having added "treemenus.tests.fake_menu_extension", to the installed_apps I get:
twice. so I actually add "treemenus.tests.fake_menu_extension", to my installed apps, which leads to the 2nd situation:
2nd. I'm using custom templates using the url-tag referring to some urls of my project. the problem is, obviously you are using your own testing-urls and you are modifying the settings at runtime. so my tests don't pass but give me errors like:
solution: please use the setup's test_suite option, as seen in http://github.com/alex/django-taggit/blob/master/setup.py for example.
The text was updated successfully, but these errors were encountered: