Skip to content
Snippets Groups Projects
Commit 2fab0e78 authored by Nathaniel Manista's avatar Nathaniel Manista
Browse files

Rename interop-as-a-unit-test "intraop"

It's been confusing that these tests have been called "interop" but
are not actually tests of interoperation.
parent 1ef7b1d6
No related branches found
No related tags found
No related merge requests found
...@@ -35,13 +35,13 @@ import unittest ...@@ -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 @@ ...@@ -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 ...@@ -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):
......
[ [
"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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment