Exemple #1
0
def suite():
    s = unittest.TestSuite()
    s.addTest(test_blockstore.suite())
    s.addTest(test_html40_19991224.suite())
    s.addTest(test_imsbltiv1p0.suite())
    s.addTest(test_imscc_profilev1p0.suite())
    s.addTest(test_imscc_profilev1p1.suite())
    s.addTest(test_imscpv1p2.suite())
    s.addTest(test_imsmdv1p2p1.suite())
    s.addTest(test_imsqtiv1p2p1.suite())
    s.addTest(test_imsqtiv2p1.suite())
    s.addTest(test_iso8601.suite())
    s.addTest(test_odata2_core.suite())
    s.addTest(test_odata2_client.suite())
    s.addTest(test_odata2_csdl.suite())
    s.addTest(test_odata2_edmx.suite())
    s.addTest(test_odata2_memds.suite())
    s.addTest(test_odata2_server.suite())
    s.addTest(test_odata2_sqlds.suite())
    s.addTest(test_rfc2234.suite())
    s.addTest(test_rfc2396.suite())
    s.addTest(test_rfc2616.suite())
    s.addTest(test_rfc2617.suite())
    s.addTest(test_rfc4287.suite())
    s.addTest(test_rfc5023.suite())
    s.addTest(test_rtf_1p6.suite())
    s.addTest(test_unicode5.suite())
    s.addTest(test_vfs.suite())
    s.addTest(test_xml20081126.suite())
    s.addTest(test_xmlnames20091208.suite())
    s.addTest(test_xsdatatypes20041028.suite())
    return s
Exemple #2
0
def suite():
    s = unittest.TestSuite()
    s.addTest(test_blockstore.suite())
    s.addTest(test_html40_19991224.suite())
    s.addTest(test_imsbltiv1p0.suite())
    s.addTest(test_imscc_profilev1p0.suite())
    s.addTest(test_imscc_profilev1p1.suite())
    s.addTest(test_imscpv1p2.suite())
    s.addTest(test_imsmdv1p2p1.suite())
    s.addTest(test_imsqtiv1p2p1.suite())
    s.addTest(test_imsqtiv2p1.suite())
    s.addTest(test_iso8601.suite())
    s.addTest(test_odata2_core.suite())
    s.addTest(test_odata2_client.suite())
    s.addTest(test_odata2_csdl.suite())
    s.addTest(test_odata2_edmx.suite())
    s.addTest(test_odata2_memds.suite())
    s.addTest(test_odata2_server.suite())
    s.addTest(test_odata2_sqlds.suite())
    s.addTest(test_rfc2234.suite())
    s.addTest(test_rfc2396.suite())
    s.addTest(test_rfc2616.suite())
    s.addTest(test_rfc2617.suite())
    s.addTest(test_rfc4287.suite())
    s.addTest(test_rfc5023.suite())
    s.addTest(test_rtf_1p6.suite())
    s.addTest(test_unicode5.suite())
    s.addTest(test_vfs.suite())
    s.addTest(test_xml20081126.suite())
    s.addTest(test_xmlnames20091208.suite())
    s.addTest(test_xsdatatypes20041028.suite())
    return s
Exemple #3
0
"""Runs unit tests on all pyslet modules"""

from pyslet.py2 import py2
from pyslet.py26 import py26

import unittest
import logging
import sys

all_tests = unittest.TestSuite()
if py2:
    import test_blockstore
    all_tests.addTest(test_blockstore.suite())
if py2:
    import test_html40_19991224
    all_tests.addTest(test_html40_19991224.suite())
if py2:
    import test_http_auth
    all_tests.addTest(test_http_auth.suite())
if py2:
    import test_http_client
    all_tests.addTest(test_http_client.suite())
if py2:
    import test_http_cookie
    all_tests.addTest(test_http_cookie.suite())
if py2:
    import test_http_grammar
    all_tests.addTest(test_http_grammar.suite())
if py2:
    import test_http_messages
    all_tests.addTest(test_http_messages.suite())