class documentation
Standalone tests of UnicodeDammit.
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Undocumented |
Method | test |
Verify the functionality of the smart_quotes_to argument to the UnicodeDammit constructor. |
Method | test |
Undocumented |
@pytest.mark.parametrize( 'smart_quotes_to,expect_converted', [ ( None, '‘’“”'), ( 'xml', '‘’“”'), ( 'html', '‘’“”'), ( 'ascii', '\'\''+'""')])
def test_smart_quotes_to(self, smart_quotes_to, expect_converted): (source) ¶
def test_smart_quotes_to(self, smart_quotes_to, expect_converted): (source) ¶
Verify the functionality of the smart_quotes_to argument to the UnicodeDammit constructor.