Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: packages/infra_libs/infra_libs/.coveragerc

Issue 2179853002: Added packages/infra_libs as the first Python package. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Final rebase (no actual changes) Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | packages/infra_libs/infra_libs/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # This file exist despite having .coveragerc in infra_libs because on Windows 1 # This file exist despite having .coveragerc in infra_libs because on Windows
2 # bots, we only execute tests in certain modules of infra_libs (including this 2 # bots, we only execute tests in certain modules of infra_libs (including this
3 # one) and the latest version of pragma throws an exception when given a 3 # one) and the latest version of coverage throws an exception when given a
4 # non-existant config file. 4 # non-existant config file.
5 5
6 [run] 6 [run]
7 include = ./infra_libs/event_mon/* 7 include = ./packages/infra_libs/infra_libs/*
8 8
9 [report] 9 [report]
10 exclude_lines = 10 exclude_lines =
11 # Have to re-enable the standard pragma 11 # Have to re-enable the standard pragma
12 pragma: no cover 12 pragma: no cover
13 13
14 # Don't complain about missing debug-only code: 14 # Don't complain about missing debug-only code:
15 def __repr__ 15 def __repr__
16 if self\.debug 16 if self\.debug
17 17
18 # Don't complain if tests don't hit defensive assertion code: 18 # Don't complain if tests don't hit defensive assertion code:
19 raise AssertionError 19 raise AssertionError
20 raise NotImplementedError 20 raise NotImplementedError
21 21
22 # Don't complain if non-runnable code isn't run: 22 # Don't complain if non-runnable code isn't run:
23 if 0: 23 if 0:
24 if __name__ == ['"]__main__['"]: 24 if __name__ == ['"]__main__['"]:
25 25
26 [expect_tests] 26 [expect_tests]
27 expected_coverage_min = 100 27 expected_coverage_min = 100
OLDNEW
« no previous file with comments | « no previous file | packages/infra_libs/infra_libs/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698