Package cssutils :: Package tests :: Package encutils :: Class AutoEncodingTestCase |
[hide private]
[frames] | no frames]

# Class AutoEncodingTestCase

source code

           object --+
                    |
    unittest.TestCase --+
                        |
                       AutoEncodingTestCase

Nested Classes | [hide private]
Inherited from `unittest.TestCase`: `failureException`

Instance Methods | [hide private]
_fakeRes(self, content) build a fake HTTP response | source code
test_getTextTypeByMediaType(self) | source code
test_getTextType(self) | source code
test_encodingByMediaType(self) | source code
test_getMetaInfo(self) | source code
test_detectXMLEncoding(self) | source code
test_tryEncodings(self) | source code
test_getEncodingInfo(self) | source code
Inherited from `unittest.TestCase`: `__call__`, `__init__`, `__repr__`, `__str__`, `assertAlmostEqual`, `assertAlmostEquals`, `assertEqual`, `assertEquals`, `assertFalse`, `assertNotAlmostEqual`, `assertNotAlmostEquals`, `assertNotEqual`, `assertNotEquals`, `assertRaises`, `assertTrue`, `assert_`, `countTestCases`, `debug`, `defaultTestResult`, `fail`, `failIf`, `failIfAlmostEqual`, `failIfEqual`, `failUnless`, `failUnlessAlmostEqual`, `failUnlessEqual`, `failUnlessRaises`, `id`, `run`, `setUp`, `shortDescription`, `tearDown` Inherited from `unittest.TestCase` (private): `_exc_info` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Class Variables | [hide private]
| fulltests = ``{``(`None`,` False`)``:` `(`None`,` `'``text``'``)``,` `(``'``ascii``'``,` False`)``:` `...``

Properties | [hide private]
Inherited from `object`: `__class__`

Class Variable Details | [hide private]

  ### fulltests Value:
      {(None, False): (None, 'text'),
       ('ascii', False): ('Content-Type: text/xml',
                          '''<?xml version="1.0" encoding="iso-X" ?>
                      <example>
                          <meta http-equiv="Content-Type"
                              content="text/xml;charset=iso_M"/>
                      </example>'''),
       ('iso-h', True): ('Content-Type: text/html;charset=iso-H', '<meta htt
      ...