mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
omit helpers from coverage
This commit is contained in:
parent
1c7f37e52a
commit
646107fee0
@ -3,14 +3,14 @@ Pull rendered copies of the templated
|
||||
only used for testing the js files! - This file is omited from coverage
|
||||
"""
|
||||
|
||||
from django.test import TestCase
|
||||
from django.contrib.auth import get_user_model
|
||||
from django.test import TestCase # pragma: no cover
|
||||
from django.contrib.auth import get_user_model # pragma: no cover
|
||||
|
||||
import os
|
||||
import pathlib
|
||||
import os # pragma: no cover
|
||||
import pathlib # pragma: no cover
|
||||
|
||||
|
||||
class RenderJavascriptFiles(TestCase):
|
||||
class RenderJavascriptFiles(TestCase): # pragma: no cover
|
||||
"""
|
||||
A unit test to "render" javascript files.
|
||||
|
||||
|
@ -7,10 +7,10 @@ For more information on this file, see
|
||||
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/
|
||||
"""
|
||||
|
||||
import os
|
||||
import os # pragma: no cover
|
||||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
from django.core.wsgi import get_wsgi_application # pragma: no cover
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "InvenTree.settings")
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "InvenTree.settings") # pragma: no cover
|
||||
|
||||
application = get_wsgi_application()
|
||||
application = get_wsgi_application() # pragma: no cover
|
||||
|
Loading…
Reference in New Issue
Block a user