Moar cleaning on the tests directory
This commit is contained in:
parent
799a2f4d49
commit
e7ef4255db
|
@ -1,28 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
from unittest import *
|
||||
from console import *
|
||||
from console.include.common_functions_60 import *
|
||||
from console.include.common_classes_60 import *
|
||||
from os import environ
|
||||
import subprocess, time, sys
|
||||
from console.PAN3 import *
|
||||
|
||||
|
||||
suite = TestSuite()
|
||||
for i in range(0,10):
|
||||
suite.addTest(PAN3('test_pan3'))
|
||||
|
||||
result = ArticaTestResult()
|
||||
suite.run(result)
|
||||
|
||||
print "Tests failed: %s" % result.failures
|
||||
print "Tests succeeded: %s" % result.success
|
||||
print "Tests skipped: %s" % result.skipped
|
||||
print "Tests with errors: %s" % result.errors
|
||||
|
||||
if (len(result.failures)+len(result.errors)+len(result.skipped)) != 0:
|
||||
sys.exit(1)
|
||||
|
||||
else:
|
||||
sys.exit(0)
|
||||
|
Loading…
Reference in New Issue