summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorzhongjun <zhong.jun@zte.com.cn>2017-09-29 09:12:49 +0800
committerzhongjun <zhong.jun@zte.com.cn>2017-09-29 09:12:49 +0800
commit5cf109d2e588dfeaaed4e6b78db7def66ecf5e1d (patch)
tree5b60d3a8c9c0e0de959be3ea77ef0a527c63beec /tests/data
parentc5dfe52ced4f9180933188a9460fead36f92f653 (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')
-rw-r--r--tests/data/common/sim_stderr_file0
-rw-r--r--tests/data/common/sim_stdout_file1
-rw-r--r--tests/data/common/ssh_stream_data1.txt3
-rw-r--r--tests/data/common/ssh_stream_data2.txt3
-rw-r--r--tests/data/common/ssh_stream_data3.txt3
-rw-r--r--tests/data/daisy_conf/daisy.conf2
6 files changed, 11 insertions, 1 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
diff --git a/tests/data/daisy_conf/daisy.conf b/tests/data/daisy_conf/daisy.conf
index 22e71d59..5435b4c0 100644
--- a/tests/data/daisy_conf/daisy.conf
+++ b/tests/data/daisy_conf/daisy.conf
@@ -1,7 +1,7 @@
[DEFAULT]
#The mangement ip of daisy
#When Daisy will be installed in the virtual machine, this option is required.
-daisy_management_ip=10.20.11.2
+
[BACKEND]
#Default backend types of daisy, including tecs, zenic, proton, kolla.