From 1fbaad110fb927f7bc074e004e9dd0c6c58673c1 Mon Sep 17 00:00:00 2001 From: Nathaniel Manista <nathaniel@google.com> Date: Thu, 19 Feb 2015 07:32:33 +0000 Subject: [PATCH] Rename base/interfaces_test to base/interfaces_test_case. With this change the Python codebase now conforms to an "if it ends with _test.py then it is an executable test" rule. --- .../base/{interfaces_test.py => interfaces_test_case.py} | 0 .../src/grpc/framework/base/packets/implementations_test.py | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/python/src/grpc/framework/base/{interfaces_test.py => interfaces_test_case.py} (100%) diff --git a/src/python/src/grpc/framework/base/interfaces_test.py b/src/python/src/grpc/framework/base/interfaces_test_case.py similarity index 100% rename from src/python/src/grpc/framework/base/interfaces_test.py rename to src/python/src/grpc/framework/base/interfaces_test_case.py diff --git a/src/python/src/grpc/framework/base/packets/implementations_test.py b/src/python/src/grpc/framework/base/packets/implementations_test.py index 628f4b3909..e5855700c7 100644 --- a/src/python/src/grpc/framework/base/packets/implementations_test.py +++ b/src/python/src/grpc/framework/base/packets/implementations_test.py @@ -31,7 +31,7 @@ import unittest -from grpc.framework.base import interfaces_test +from grpc.framework.base import interfaces_test_case from grpc.framework.base import util from grpc.framework.base.packets import implementations from grpc.framework.foundation import logging_pool @@ -42,7 +42,7 @@ MAXIMUM_TIMEOUT = 60 class ImplementationsTest( - interfaces_test.FrontAndBackTest, unittest.TestCase): + interfaces_test_case.FrontAndBackTest, unittest.TestCase): def setUp(self): self.memory_transmission_pool = logging_pool.pool(POOL_MAX_WORKERS) @@ -53,7 +53,7 @@ class ImplementationsTest( self.back_transmission_pool = logging_pool.pool(POOL_MAX_WORKERS) self.back_utility_pool = logging_pool.pool(POOL_MAX_WORKERS) self.test_pool = logging_pool.pool(POOL_MAX_WORKERS) - self.test_servicer = interfaces_test.TestServicer(self.test_pool) + self.test_servicer = interfaces_test_case.TestServicer(self.test_pool) self.front = implementations.front( self.front_work_pool, self.front_transmission_pool, self.front_utility_pool) -- GitLab