Merge pull request #9212 from nathanielmanistaatgoogle/intraop

Rename interop-as-a-unit-test "intraop".
pull/7868/merge
Nathaniel Manista 8 years ago committed by GitHub
commit 41eabb8c1f
  1. 6
      src/python/grpcio_tests/tests/interop/_insecure_intraop_test.py
  2. 2
      src/python/grpcio_tests/tests/interop/_intraop_test_case.py
  3. 6
      src/python/grpcio_tests/tests/interop/_secure_intraop_test.py
  4. 4
      src/python/grpcio_tests/tests/tests.json

@ -35,13 +35,13 @@ import unittest
import grpc import grpc
from src.proto.grpc.testing import test_pb2 from src.proto.grpc.testing import test_pb2
from tests.interop import _interop_test_case from tests.interop import _intraop_test_case
from tests.interop import methods from tests.interop import methods
from tests.interop import server from tests.interop import server
class InsecureInteropTest( class InsecureIntraopTest(
_interop_test_case.InteropTestCase, _intraop_test_case.IntraopTestCase,
unittest.TestCase): unittest.TestCase):
def setUp(self): def setUp(self):

@ -32,7 +32,7 @@
from tests.interop import methods from tests.interop import methods
class InteropTestCase(object): class IntraopTestCase(object):
"""Unit test methods. """Unit test methods.
This class must be mixed in with unittest.TestCase and a class that defines This class must be mixed in with unittest.TestCase and a class that defines

@ -35,15 +35,15 @@ import unittest
import grpc import grpc
from src.proto.grpc.testing import test_pb2 from src.proto.grpc.testing import test_pb2
from tests.interop import _interop_test_case from tests.interop import _intraop_test_case
from tests.interop import methods from tests.interop import methods
from tests.interop import resources from tests.interop import resources
_SERVER_HOST_OVERRIDE = 'foo.test.google.fr' _SERVER_HOST_OVERRIDE = 'foo.test.google.fr'
class SecureInteropTest( class SecureIntraopTest(
_interop_test_case.InteropTestCase, _intraop_test_case.IntraopTestCase,
unittest.TestCase): unittest.TestCase):
def setUp(self): def setUp(self):

@ -1,7 +1,7 @@
[ [
"health_check._health_servicer_test.HealthServicerTest", "health_check._health_servicer_test.HealthServicerTest",
"interop._insecure_interop_test.InsecureInteropTest", "interop._insecure_intraop_test.InsecureIntraopTest",
"interop._secure_interop_test.SecureInteropTest", "interop._secure_intraop_test.SecureIntraopTest",
"protoc_plugin._python_plugin_test.PythonPluginTest", "protoc_plugin._python_plugin_test.PythonPluginTest",
"protoc_plugin._split_definitions_test.SameCommonTest", "protoc_plugin._split_definitions_test.SameCommonTest",
"protoc_plugin._split_definitions_test.SameSeparateTest", "protoc_plugin._split_definitions_test.SameSeparateTest",

Loading…
Cancel
Save