Formatting: Format all python code with black.
This CL is probably not what you're looking for, it's only
automated formatting. Ignore it with
`git blame --ignore-rev <revision>` for this commit.
BUG=b:233893248
TEST=CQ
Change-Id: I66591d7a738d241aed3290138c0f68065ab10a6d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3879174
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Tested-by: Alex Klein <saklein@chromium.org>
diff --git a/scripts/cros_run_unit_tests_unittest.py b/scripts/cros_run_unit_tests_unittest.py
index 9d773c9..89b51c1 100644
--- a/scripts/cros_run_unit_tests_unittest.py
+++ b/scripts/cros_run_unit_tests_unittest.py
@@ -14,15 +14,18 @@
class CrosRunUnitTestsTest(cros_test_lib.MockTestCase):
- """Tests for cros_run_unit_tests functions."""
+ """Tests for cros_run_unit_tests functions."""
- def testNonEmptyPackageSet(self):
- """Asserts that the deps of a known package are non-empty"""
- self.assertTrue(cros_run_unit_tests.determine_packages(
- '/', ('virtual/implicit-system',)))
+ def testNonEmptyPackageSet(self):
+ """Asserts that the deps of a known package are non-empty"""
+ self.assertTrue(
+ cros_run_unit_tests.determine_packages(
+ "/", ("virtual/implicit-system",)
+ )
+ )
- def testGetKeepGoing(self):
- """Tests set keep_going option based on env virables"""
- self.PatchObject(os, 'environ', new={'USE': 'chrome_internal coverage'})
- keep_going = cros_run_unit_tests.get_keep_going()
- self.assertEqual(keep_going, True)
+ def testGetKeepGoing(self):
+ """Tests set keep_going option based on env virables"""
+ self.PatchObject(os, "environ", new={"USE": "chrome_internal coverage"})
+ keep_going = cros_run_unit_tests.get_keep_going()
+ self.assertEqual(keep_going, True)