This repository has been archived by the owner on Feb 7, 2025. It is now read-only.
forked from indico/indico
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
83eef0e
commit 7823812
Showing
5 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[run] | ||
branch = true | ||
source = indico | ||
include = indico/modules/rb/models/*.py | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
def __repr__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,3 +45,6 @@ node_modules | |
.noseids | ||
indico/tests/report/*.txt | ||
test.txt | ||
.coverage | ||
coverage.xml | ||
htmlcov/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[pytest] | ||
; exclude unrelated folders and all old tests | ||
norecursedirs = .* .git indico/tests indico/modules/rb/tests test MaKaC doc etc ext_modules migrations | ||
; more verbose summary (include skip/fail/error/warning), fixtures | ||
addopts = -rsfEw | ||
; more verbose summary (include skip/fail/error/warning), coverage | ||
addopts = -rsfEw --cov indico --cov-report html --no-cov-on-fail | ||
; only check for tests in suffixed files | ||
python_files = *_test.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters