diff --git a/InvenTree/InvenTree/ci_render_js.py b/InvenTree/InvenTree/ci_render_js.py index da6f54e40b..e747f1a3c0 100644 --- a/InvenTree/InvenTree/ci_render_js.py +++ b/InvenTree/InvenTree/ci_render_js.py @@ -1,8 +1,7 @@ """ Pull rendered copies of the templated -only used for testing the js files! +only used for testing the js files! - This file is omited from coverage """ -# pragma: no cover from django.test import TestCase from django.contrib.auth import get_user_model @@ -11,7 +10,7 @@ import os import pathlib -class RenderJavascriptFiles(TestCase): # pragma: no cover +class RenderJavascriptFiles(TestCase): """ A unit test to "render" javascript files. diff --git a/InvenTree/InvenTree/wsgi.py b/InvenTree/InvenTree/wsgi.py index a5b7fdb37f..c6bef4d663 100644 --- a/InvenTree/InvenTree/wsgi.py +++ b/InvenTree/InvenTree/wsgi.py @@ -6,7 +6,6 @@ It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ -# pragma: no cover import os diff --git a/setup.cfg b/setup.cfg index b4b0af8836..91b8a29616 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,3 +20,6 @@ max-complexity = 20 [coverage:run] source = ./InvenTree +omit= + InvenTree/wsgi.py + InvenTree/ci_render_js.py