File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 27
27
try :
28
28
from unittest2 import TestCase , expectedFailure
29
29
except ImportError :
30
- print "You need to install unittest2 to run the salt tests"
31
- sys .exit (1 )
30
+ print "You should install unittest2 to run the salt tests"
31
+ sys .exit (0 )
32
32
else :
33
33
from unittest import TestCase , expectedFailure
34
34
Original file line number Diff line number Diff line change 34
34
try :
35
35
from unittest2 import TestCase , expectedFailure
36
36
except ImportError :
37
- print "You need to install unittest2 to run the salt tests"
38
- sys .exit (1 )
37
+ print "You should install unittest2 to run the salt tests"
38
+ sys .exit (0 )
39
39
else :
40
40
from unittest import TestCase , expectedFailure
41
41
Original file line number Diff line number Diff line change 34
34
try :
35
35
from unittest2 import TestCase , expectedFailure
36
36
except ImportError :
37
- print "You need to install unittest2 to run the salt tests"
38
- sys .exit (1 )
37
+ print "You should install unittest2 to run the salt tests"
38
+ sys .exit (0 )
39
39
else :
40
40
from unittest import TestCase , expectedFailure
41
41
Original file line number Diff line number Diff line change 13
13
try :
14
14
from unittest2 import TestCase , expectedFailure
15
15
except ImportError :
16
- print "You need to install unittest2 to run the salt tests"
17
- sys .exit (1 )
16
+ print "You should install unittest2 to run the salt tests"
17
+ sys .exit (0 )
18
18
else :
19
19
from unittest import TestCase , expectedFailure
20
20
You can’t perform that action at this time.
0 commit comments