def suite(): from mediacore.controllers.tests import login_test, upload_test from mediacore.lib.auth.tests import (filtering_restricted_items_test, group_based_permissions_policy_test, mediacore_permission_system_test, permission_system_test, query_result_proxy_test, static_query_test) from mediacore.lib.tests import (css_delivery_test, current_url_test, helpers_test, js_delivery_test, observable_test, request_mixin_test, url_for_test, xhtml_normalization_test) from mediacore.lib.storage.tests import youtube_storage_test from mediacore.model.tests import (category_example_test, group_example_test, media_example_test, media_status_test, media_test, user_example_test) from mediacore.plugin.tests import abstract_class_registration_test, events_test, observes_test from mediacore.validation.tests import (limit_feed_items_validator_test, uri_validator_test) # do not export 'unittest' via '*' import from this module import unittest suite = unittest.TestSuite() suite.addTest(abstract_class_registration_test.suite()) suite.addTest(category_example_test.suite()) suite.addTest(css_delivery_test.suite()) suite.addTest(current_url_test.suite()) suite.addTest(events_test.suite()) suite.addTest(filtering_restricted_items_test.suite()) suite.addTest(group_based_permissions_policy_test.suite()) suite.addTest(group_example_test.suite()) suite.addTest(helpers_test.suite()) suite.addTest(limit_feed_items_validator_test.suite()) suite.addTest(login_test.suite()) suite.addTest(media_example_test.suite()) suite.addTest(media_status_test.suite()) suite.addTest(media_test.suite()) suite.addTest(mediacore_permission_system_test.suite()) suite.addTest(permission_system_test.suite()) suite.addTest(observes_test.suite()) suite.addTest(js_delivery_test.suite()) suite.addTest(observable_test.suite()) suite.addTest(query_result_proxy_test.suite()) suite.addTest(request_mixin_test.suite()) suite.addTest(static_query_test.suite()) suite.addTest(upload_test.suite()) suite.addTest(uri_validator_test.suite()) suite.addTest(url_for_test.suite()) suite.addTest(user_example_test.suite()) suite.addTest(youtube_storage_test.suite()) suite.addTest(xhtml_normalization_test.suite()) return suite
def suite(): from mediacore.lib.tests import (css_delivery_test, js_delivery_test, observable_test, request_mixin_test) from mediacore.lib.storage.tests import youtube_storage_test from mediacore.model.tests import media_example_test, media_test from mediacore.plugin.tests import abstract_class_registration_test, events_test, observes_test from mediacore.validation.tests import limit_feed_items_validator_test # do not export 'unittest' via '*' import from this module import unittest suite = unittest.TestSuite() suite.addTest(abstract_class_registration_test.suite()) suite.addTest(css_delivery_test.suite()) suite.addTest(events_test.suite()) suite.addTest(limit_feed_items_validator_test.suite()) suite.addTest(media_test.suite()) suite.addTest(media_example_test.suite()) suite.addTest(observes_test.suite()) suite.addTest(js_delivery_test.suite()) suite.addTest(observable_test.suite()) suite.addTest(request_mixin_test.suite()) suite.addTest(youtube_storage_test.suite()) return suite