diff options
author | zhongjun <zhong.jun@zte.com.cn> | 2017-09-29 09:12:49 +0800 |
---|---|---|
committer | zhongjun <zhong.jun@zte.com.cn> | 2017-09-29 09:12:49 +0800 |
commit | 5cf109d2e588dfeaaed4e6b78db7def66ecf5e1d (patch) | |
tree | 5b60d3a8c9c0e0de959be3ea77ef0a527c63beec /tests/data/common | |
parent | c5dfe52ced4f9180933188a9460fead36f92f653 (diff) |
Add more test function and case in test_utils.py
Add more test functions and test case in test_utils.py,
test_daisy_server.py and test_environment.py.
Change-Id: I7e4ea6993205e1d2f7cc8202820a3ada99613910
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
Diffstat (limited to 'tests/data/common')
-rw-r--r-- | tests/data/common/sim_stderr_file | 0 | ||||
-rw-r--r-- | tests/data/common/sim_stdout_file | 1 | ||||
-rw-r--r-- | tests/data/common/ssh_stream_data1.txt | 3 | ||||
-rw-r--r-- | tests/data/common/ssh_stream_data2.txt | 3 | ||||
-rw-r--r-- | tests/data/common/ssh_stream_data3.txt | 3 |
5 files changed, 10 insertions, 0 deletions
diff --git a/tests/data/common/sim_stderr_file b/tests/data/common/sim_stderr_file new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/tests/data/common/sim_stderr_file diff --git a/tests/data/common/sim_stdout_file b/tests/data/common/sim_stdout_file new file mode 100644 index 00000000..e1a1a8d2 --- /dev/null +++ b/tests/data/common/sim_stdout_file @@ -0,0 +1 @@ +stdout file data
\ No newline at end of file diff --git a/tests/data/common/ssh_stream_data1.txt b/tests/data/common/ssh_stream_data1.txt new file mode 100644 index 00000000..0d9da1de --- /dev/null +++ b/tests/data/common/ssh_stream_data1.txt @@ -0,0 +1,3 @@ +test_ssh_cmd1 +test_ssh_cmd2 +test_ssh_cmd3 diff --git a/tests/data/common/ssh_stream_data2.txt b/tests/data/common/ssh_stream_data2.txt new file mode 100644 index 00000000..00ee55c3 --- /dev/null +++ b/tests/data/common/ssh_stream_data2.txt @@ -0,0 +1,3 @@ +test_ssh_cmd1 +test_ssh_cmd2 +test_ssh_cmd3
\ No newline at end of file diff --git a/tests/data/common/ssh_stream_data3.txt b/tests/data/common/ssh_stream_data3.txt new file mode 100644 index 00000000..289d65cb --- /dev/null +++ b/tests/data/common/ssh_stream_data3.txt @@ -0,0 +1,3 @@ +test_ssh_cmd1 +test_ssh_cmd2 +test_ssh_cmd3 option1
\ No newline at end of file |