Replace DataForm implementation by Form implementation from PyXMPP
darcs-hash:20070213174122-86b55-54dc9d8ae9c4f354af0b46e597779744fbd97900.gz
This commit is contained in:
11
run_tests.py
11
run_tests.py
@@ -37,7 +37,6 @@ del sys.setdefaultencoding
|
||||
import tests
|
||||
from tests.jcl.jabber.test_component import *
|
||||
from tests.jcl.jabber.test_feeder import *
|
||||
from tests.jcl.jabber.test_x import *
|
||||
from tests.jcl.test_lang import *
|
||||
from tests.jcl.model.test_account import *
|
||||
|
||||
@@ -52,9 +51,6 @@ if __name__ == '__main__':
|
||||
feeder_component_suite = unittest.makeSuite(FeederComponent_TestCase, "test")
|
||||
feeder_suite = unittest.makeSuite(Feeder_TestCase, "test")
|
||||
sender_suite = unittest.makeSuite(Sender_TestCase, "test")
|
||||
dataform_suite = unittest.makeSuite(DataForm_TestCase, "test")
|
||||
field_suite = unittest.makeSuite(Field_TestCase, "test")
|
||||
option_suite = unittest.makeSuite(Option_TestCase, "test")
|
||||
lang_suite = unittest.makeSuite(Lang_TestCase, "test")
|
||||
account_module_suite = unittest.makeSuite(AccountModule_TestCase, "test")
|
||||
account_suite = unittest.makeSuite(Account_TestCase, "test")
|
||||
@@ -62,16 +58,13 @@ if __name__ == '__main__':
|
||||
|
||||
jcl_suite = unittest.TestSuite()
|
||||
# jcl_suite.addTest(FeederComponent_TestCase('test_handle_tick'))
|
||||
# jcl_suite.addTest(JCLComponent_TestCase('test_handle_get_register_new_type2'))
|
||||
# jcl_suite.addTest(JCLComponent_TestCase('test_handle_get_register_exist_complex'))
|
||||
# jcl_suite = unittest.TestSuite((component_suite))
|
||||
# jcl_suite = unittest.TestSuite((presence_account_suite))
|
||||
jcl_suite = unittest.TestSuite((component_suite, \
|
||||
feeder_component_suite, \
|
||||
feeder_suite, \
|
||||
sender_suite, \
|
||||
dataform_suite, \
|
||||
field_suite, \
|
||||
option_suite, \
|
||||
lang_suite, \
|
||||
account_module_suite, \
|
||||
account_suite, \
|
||||
@@ -82,13 +75,11 @@ if __name__ == '__main__':
|
||||
coverage.stop()
|
||||
coverage.analysis(jcl.jabber.component)
|
||||
coverage.analysis(jcl.jabber.feeder)
|
||||
coverage.analysis(jcl.jabber.x)
|
||||
coverage.analysis(jcl.lang)
|
||||
coverage.analysis(jcl.model.account)
|
||||
|
||||
coverage.report([jcl.jabber.component, \
|
||||
jcl.jabber.feeder, \
|
||||
jcl.jabber.x, \
|
||||
jcl.lang, \
|
||||
jcl.model.account])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user