()
| 175 | |
| 176 | |
| 177 | def test_ascii_encoding(): |
| 178 | encoder = MetaStringEncoder(special_char1=".", special_char2="_") |
| 179 | |
| 180 | test_string = "asciiOnly" |
| 181 | encoded_metastring = encoder.encode(test_string) |
| 182 | assert encoded_metastring.encoding != Encoding.UTF_8 |
| 183 | assert encoded_metastring.encoding == Encoding.ALL_TO_LOWER_SPECIAL |
| 184 | |
| 185 | |
| 186 | def test_non_ascii_encoding(): |
nothing calls this directly
no test coverage detected