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

Side by Side Diff: infra_libs/logs/.coveragerc

Issue 2213143002: Add infra_libs as a bootstrap dependency. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Removed the ugly import hack 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
OLDNEW
(Empty)
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
3 # one) and the latest version of pragma throws an exception when given a
4 # non-existant config file.
5
6 [run]
7 include = ./infra_libs/logs/*
8
9 [report]
10 exclude_lines =
11 # Have to re-enable the standard pragma
12 pragma: no cover
13
14 # Don't complain about missing debug-only code:
15 def __repr__
16 if self\.debug
17
18 # Don't complain if tests don't hit defensive assertion code:
19 raise AssertionError
20 raise NotImplementedError
21
22 # Don't complain if non-runnable code isn't run:
23 if 0:
24 if __name__ == ['"]__main__['"]:
25
26 [expect_tests]
27 expected_coverage_min = 100
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698