pytest-djangoapp icon indicating copy to clipboard operation
pytest-djangoapp copied to clipboard

Nice pytest plugin to help you with Django pluggable application testing.

Results 9 pytest-djangoapp issues
Sort by recently updated
recently updated
newest added

Most apps use global settings named `APPNAME_foo`. A fixture `app_settings` could create a renaming proxy in which `app_settings.FOO` maps to `settings.APPNAME_FOO`. Also , the fixture could detect https://github.com/idlesign/django-siteprefs and give...

enhancement

I'm not sure if this is going to be possible/easy ```py def test_foo(settings): with settings(FOO=True) as settings: with settings(BLAH=True): # Use FOO and BLAH ... with settings(BLAH=False): # Using FOO...

Based on top of https://github.com/idlesign/pytest-djangoapp/pull/17

Related to https://github.com/idlesign/pytest-djangoapp/issues/11

If the app is in INSTALLED_APP, dont add it again. The user knows what they are doing ;-) ``` INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/usr/lib/python3.8/site-packages/_pytest/main.py", line 193,...

enhancement
good first issue

IMO codecov.io is much better than coveralls . coveralls regularly does things like the mess created on https://github.com/idlesign/pytest-djangoapp/pull/9

c.f. https://github.com/idlesign/django-siteprefs/issues/18#issuecomment-634695472 Running tests on openSUSE Tumbleweed build bots (`platform linux -- Python 3.8.3, pytest-5.3.5, py-1.8.1, pluggy-0.13.1` - cant change this) ``` [ 48s] + PYTHONPATH=:/home/abuild/rpmbuild/BUILDROOT/python-pytest-djangoapp-0.14.0-3.1.x86_64/usr/lib/python3.8/site-packages [ 48s] + PYTHONDONTWRITEBYTECODE=1...

Hi, just found this plugin, and read this in the README: > What about pytest-django > It uses setuptools entrypoints feature for pytest plugin discovery. It's not a problem by...

question