Skip to content

Commit

Permalink
fix: handle dry_run like data request
Browse files Browse the repository at this point in the history
Signed-off-by: Han Xiao <[email protected]>
  • Loading branch information
hanxiao committed Apr 6, 2020
1 parent 6797344 commit 85bc8c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_driver_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ def test_load_yaml2(self):

def test_resource_executor(self):
a = BaseExecutor.load_config(resource_filename('jina', '/'.join(('resources', 'executors._route.yml'))))
self.assertEqual(a.name, 'route')
self.assertEqual(len(a._drivers), 4)
a = BaseExecutor.load_config(resource_filename('jina', '/'.join(('resources', 'executors._forward.yml'))))
self.assertEqual(a.name, 'forward')
self.assertEqual(len(a._drivers), 4)
a = BaseExecutor.load_config(resource_filename('jina', '/'.join(('resources', 'executors._merge.yml'))))
Expand Down

0 comments on commit 85bc8c3

Please sign in to comment.