devserver: Fix lint issues.
Fix many (not all) lint issues in this directory.
BUG=None
TEST=run_unittests
Change-Id: Ifc934808c02aef45243e6a6ed099124cca4674d2
Reviewed-on: https://chromium-review.googlesource.com/354735
Commit-Ready: Don Garrett <dgarrett@chromium.org>
Tested-by: Don Garrett <dgarrett@chromium.org>
Reviewed-by: Ningning Xia <nxia@chromium.org>
diff --git a/builder_test.py b/builder_test.py
index 8fbd160..e8e8d44 100755
--- a/builder_test.py
+++ b/builder_test.py
@@ -1,15 +1,22 @@
-#!/usr/bin/python
+#!/usr/bin/python2
+
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+"""Unittests for builder.py."""
+
+from __future__ import print_function
+
import subprocess
import unittest
import builder
+# pylint: disable=protected-access
class BuilderTest(unittest.TestCase):
+ """Tests for builder."""
def testOutputOf(self):
self.assertRaises(subprocess.CalledProcessError,
builder._OutputOf, ['/bin/false'])