Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
gnossen committed Oct 31, 2018
1 parent db1294d commit a3ffca1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/python/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
gens/
*_pb2.py
*_pb2_grpc.py
*.egg-info/
1 change: 1 addition & 0 deletions src/python/grpcio_testing/grpc_testing/_server/_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
logging.basicConfig()
_LOGGER = logging.getLogger(__name__)


class Rpc(object):

def __init__(self, handler, invocation_metadata):
Expand Down
1 change: 0 additions & 1 deletion src/python/grpcio_tests/tests/unit/_credentials_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.
"""Tests of credentials."""


import unittest
import logging

Expand Down
6 changes: 4 additions & 2 deletions src/python/grpcio_tests/tests/unit/_logging_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
import grpc
import logging


class LoggingTest(unittest.TestCase):

def test_logger_not_occupied(self):
self.assertEqual(0, len(logging.getLogger().handlers))
def test_logger_not_occupied(self):
self.assertEqual(0, len(logging.getLogger().handlers))


if __name__ == '__main__':
unittest.main(verbosity=2)
2 changes: 1 addition & 1 deletion src/python/grpcio_tests/tests/unit/_server_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ def test_not_a_generic_rpc_handler_after_construction(self):


if __name__ == '__main__':
logging.basicConfig()
logging.basicConfig()
unittest.main(verbosity=2)

0 comments on commit a3ffca1

Please sign in to comment.