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

Unified Diff: infra/bots/recipe_modules/flavor/default_flavor.py

Issue 2215443003: [recipes] Increase test coverage (Closed) Base URL: https://skia.googlesource.com/skia.git@merge_buildbot_spec
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: infra/bots/recipe_modules/flavor/default_flavor.py
diff --git a/infra/bots/recipe_modules/flavor/default_flavor.py b/infra/bots/recipe_modules/flavor/default_flavor.py
index f1837c2fba969b7b6d9a8f9b8662bbecef034354..3670457474b9bea9ce0eed84a1aca56fb9c197d8 100644
--- a/infra/bots/recipe_modules/flavor/default_flavor.py
+++ b/infra/bots/recipe_modules/flavor/default_flavor.py
@@ -172,10 +172,6 @@ class DefaultFlavorUtils(object):
"""Like os.path.join(), but for paths on a connected device."""
return self.m.path.join(*args)
- def device_path_exists(self, path): # pragma: no cover
- """Like os.path.exists(), but for paths on a connected device."""
- return self.m.path.exists(path, infra_step=True)
-
def copy_directory_contents_to_device(self, host_dir, device_dir):
"""Like shutil.copytree(), but for copying to a connected device."""
# For "normal" builders who don't have an attached device, we expect
@@ -229,6 +225,3 @@ class DefaultFlavorUtils(object):
def cleanup_steps(self):
"""Run any device-specific cleanup steps."""
pass
-
- def __repr__(self):
- return '<%s object>' % self.__class__.__name__ # pragma: no cover

Powered by Google App Engine
This is Rietveld 408576698