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

Unified Diff: recipe_engine/simulation_test.py

Issue 2721613004: simulation_test_ng: initial CL (Closed)
Patch Set: revised Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: recipe_engine/simulation_test.py
diff --git a/recipe_engine/simulation_test.py b/recipe_engine/simulation_test.py
index 6967c09022ceddd3d2feae85a1a40352b7d3941d..d88ab5a2d90ff2b050987deeb3cec91a0434adab 100644
--- a/recipe_engine/simulation_test.py
+++ b/recipe_engine/simulation_test.py
@@ -173,7 +173,7 @@ def GenerateTests():
# To make transition possible for existing code (which will require
# writing tests), a temporary escape hatch is added.
# TODO(phajdan.jr): remove DISABLE_STRICT_COVERAGE (crbug/693058).
- if (getattr(mod, 'DISABLE_STRICT_COVERAGE', False)):
+ if mod.DISABLE_STRICT_COVERAGE:
covered_modules.add(module)
base_covers.append(os.path.join(
_UNIVERSE_VIEW.module_dir, module, '*.py'))
« no previous file with comments | « recipe_engine/post_process.py ('k') | recipe_engine/test.py » ('j') | recipe_engine/test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698