api: Lint fixes.
Fix line-too-long and docstring-section-indent errors.
BUG=b:233893248
TEST=cros lint
Change-Id: Ieeff951187b2c7c0e371ef18cab97f31c03d81cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/4190795
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
Tested-by: Alex Klein <saklein@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Auto-Submit: Alex Klein <saklein@chromium.org>
diff --git a/api/router_unittest.py b/api/router_unittest.py
index 56324ec..316c0fe 100644
--- a/api/router_unittest.py
+++ b/api/router_unittest.py
@@ -369,8 +369,9 @@
)
self.PatchObject(cros_build_lib, "IsInsideChroot", return_value=False)
- # Patch the chroot tempdir method to return a tempdir with our subprocess
- # tempdir so the output file will be in the expected location.
+ # Patch the chroot tempdir method to return a tempdir with our
+ # subprocess tempdir so the output file will be in the expected
+ # location.
tempdir = osutils.TempDir()
original = tempdir.tempdir
tempdir.tempdir = self.subprocess_tempdir
@@ -381,7 +382,8 @@
# Set the command side effect to write out our expected output to the
# output file for the inside the chroot reexecution of the endpoint.
- # This lets us make sure the logic moving everything out works as intended.
+ # This lets us make sure the logic moving everything out works as
+ # intended.
self.rc.SetDefaultCmdResult(
side_effect=self._writeChrootCallOutput(
content=expected_output_msg.SerializeToString(), mode="wb"
@@ -424,7 +426,8 @@
# Set the command side effect to write out our expected output to the
# output file for the inside the chroot reexecution of the endpoint.
- # This lets us make sure the logic moving everything out works as intended.
+ # This lets us make sure the logic moving everything out works as
+ # intended.
self.rc.SetDefaultCmdResult(
side_effect=self._writeChrootCallOutput(
content=expected_output_msg.SerializeToString(), mode="wb"