mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-11 17:53:00 +00:00
omit coverage via setup.cfg
This commit is contained in:
parent
a6621a5327
commit
73500a4b82
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -20,3 +20,6 @@ max-complexity = 20
|
||||
|
||||
[coverage:run]
|
||||
source = ./InvenTree
|
||||
omit=
|
||||
InvenTree/wsgi.py
|
||||
InvenTree/ci_render_js.py
|
||||
|
Loading…
x
Reference in New Issue
Block a user