From 3af95227be9b2630b450f71706aa9534b5be7671 Mon Sep 17 00:00:00 2001 From: Jem Date: Thu, 12 Sep 2019 10:36:26 +0800 Subject: [PATCH] test(cli): add unittest for cli --- tests/test_client_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_client_cli.py b/tests/test_client_cli.py index 9360bcce..5e211046 100644 --- a/tests/test_client_cli.py +++ b/tests/test_client_cli.py @@ -17,7 +17,7 @@ def test_cli(self): cli_args = set_client_cli_parser().parse_args([ '--mode', 'train', '--grpc_host', '127.0.0.1', - '--txt_file', 'sonnets.txt' + '--txt_file', os.path.join(self.dirname, 'sonnets.txt') ]) args = set_frontend_parser().parse_args([