From 04576bb2990f3b6cfbb094ddff2195c2f2e01b20 Mon Sep 17 00:00:00 2001 From: hanhxiao Date: Tue, 6 Aug 2019 16:36:29 +0800 Subject: [PATCH] test: simplify yaml naming --- tests/test_router.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_router.py b/tests/test_router.py index b9430569..f3e40f41 100644 --- a/tests/test_router.py +++ b/tests/test_router.py @@ -16,10 +16,10 @@ def setUp(self): self.dirname = os.path.dirname(__file__) self.publish_router_yaml = os.path.join(self.dirname, 'yaml', 'router-publish.yml') self.batch_router_yaml = os.path.join(self.dirname, 'yaml', 'router-batch.yml') - self.reduce_router_yaml = os.path.join(self.dirname, 'yaml', 'router-reduce.yml') - self.chunk_router_yaml = os.path.join(self.dirname, 'yaml', 'router-chunk-reduce.yml') - self.doc_router_yaml = os.path.join(self.dirname, 'yaml', 'router-doc-reduce.yml') - self.concat_router_yaml = os.path.join(self.dirname, 'yaml', 'router-concat.yml') + self.reduce_router_yaml = 'BaseReduceRouter' + self.chunk_router_yaml = 'ChunkReduceRouter' + self.doc_router_yaml = 'DocReduceRouter' + self.concat_router_yaml = 'ConcatEmbedRouter' def test_service_empty(self): args = set_router_service_parser().parse_args([])