[WEB-3707] pytest based test suite for apiserver (#7010)
* pytest bases tests for apiserver * Trimmed spaces * Updated .gitignore for pytest local files
This commit is contained in:
parent
4e485d6402
commit
78cc32765b
40 changed files with 1546 additions and 290 deletions
25
apiserver/.coveragerc
Normal file
25
apiserver/.coveragerc
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[run]
|
||||
source = plane
|
||||
omit =
|
||||
*/tests/*
|
||||
*/migrations/*
|
||||
*/settings/*
|
||||
*/wsgi.py
|
||||
*/asgi.py
|
||||
*/urls.py
|
||||
manage.py
|
||||
*/admin.py
|
||||
*/apps.py
|
||||
|
||||
[report]
|
||||
exclude_lines =
|
||||
pragma: no cover
|
||||
def __repr__
|
||||
if self.debug:
|
||||
raise NotImplementedError
|
||||
if __name__ == .__main__.
|
||||
pass
|
||||
raise ImportError
|
||||
|
||||
[html]
|
||||
directory = htmlcov
|
||||
Loading…
Add table
Add a link
Reference in a new issue