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

Unified Diff: tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py

Issue 1125633002: [Telemetry] Enable import-error, bad-indentation, bad-whitespace lint check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py
diff --git a/tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py b/tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py
index 841e68f49eeebd5cb774dde3369fd1b1725592c1..e6c7afb9f642a2d36a256c478564e389dbae9948 100644
--- a/tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py
+++ b/tools/telemetry/telemetry/core/platform/posix_platform_backend_unittest.py
@@ -57,24 +57,24 @@ class PosixPlatformBackendTest(unittest.TestCase):
posix_platform_backend._BinaryExistsInSudoersFiles(binary_path, ''))
self.assertFalse(
posix_platform_backend._BinaryExistsInSudoersFiles(
- binary_path,' (ALL) ALL'))
+ binary_path, ' (ALL) ALL'))
self.assertFalse(
posix_platform_backend._BinaryExistsInSudoersFiles(
- binary_path,' (root) NOPASSWD: /usr/bin/pkill_DUMMY'))
+ binary_path, ' (root) NOPASSWD: /usr/bin/pkill_DUMMY'))
self.assertFalse(
posix_platform_backend._BinaryExistsInSudoersFiles(
- binary_path,' (root) NOPASSWD: pkill'))
+ binary_path, ' (root) NOPASSWD: pkill'))
self.assertTrue(
posix_platform_backend._BinaryExistsInSudoersFiles(
- binary_path,'(root) NOPASSWD: /usr/bin/pkill'))
+ binary_path, '(root) NOPASSWD: /usr/bin/pkill'))
self.assertTrue(
posix_platform_backend._BinaryExistsInSudoersFiles(
- binary_path,' (root) NOPASSWD: /usr/bin/pkill'))
+ binary_path, ' (root) NOPASSWD: /usr/bin/pkill'))
self.assertTrue(
posix_platform_backend._BinaryExistsInSudoersFiles(
- binary_path,' (root) NOPASSWD: /usr/bin/pkill arg1 arg2'))
+ binary_path, ' (root) NOPASSWD: /usr/bin/pkill arg1 arg2'))
@decorators.Enabled('linux', 'mac')
def testIsApplicationRunning(self):

Powered by Google App Engine
This is Rietveld 408576698