File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 21
21
'''
22
22
import os
23
23
import sys
24
- sys .path .insert (0 , os .path .abspath (os .path .dirname (__file__ )))
24
+ sys .path .insert (0 , os .path .abspath (os .path .dirname (__file__ )))
Original file line number Diff line number Diff line change @@ -27,4 +27,3 @@ def test_case04():
27
27
def test_case05 ():
28
28
result = parse_defaults_from_config_file ()
29
29
assert int (result ['port' ]) == 4242 and int (result ['serverport' ]) == 9084
30
-
Original file line number Diff line number Diff line change
1
+ import os
2
+
3
+
4
+ def test_case01 ():
5
+ result = os .system ("python ./source/zimonGrafanaIntf.py" )
6
+ assert result == 0
7
+
8
+
9
+ def test_case02 ():
10
+ result = os .system ("python ./source/zimonGrafanaIntf.py --port 4242" )
11
+ assert result == 0
12
+
13
+
14
+ def test_case03 ():
15
+ result = os .system ("python ./source/zimonGrafanaIntf.py -c 10" )
16
+ assert result == 0
17
+
18
+
19
+ def test_case04 ():
20
+ result = os .system ("python ./source/zimonGrafanaIntf.py --port 8443" )
21
+ assert result > 0
22
+
23
+
24
+ def test_case05 ():
25
+ result = os .system ('python ./source/zimonGrafanaIntf.py --port 8443 --tlsKeyPath "/tmp"' )
26
+ assert result > 0
27
+
28
+
29
+ def test_case06 ():
30
+ result = os .system ('python ./source/zimonGrafanaIntf.py -a 2' )
31
+ assert result > 0
32
+
You can’t perform that action at this time.
0 commit comments