- assert trans.transliterate(" Baum straße ") == " baum straße "
- assert trans.transliterate(" Baumstraße ") == " baumstraße "
- assert trans.transliterate(" Baumstrasse ") == " baumstrasse "
- assert trans.transliterate(" Baumstr ") == " baumstr "
- assert trans.transliterate(" Baumwegstr ") == " baumwegstr "
- assert trans.transliterate(" Αθήνα ") == " athēna "
- assert trans.transliterate(" проспект ") == " prospekt "
+ @pytest.mark.parametrize("section", CONFIG_SECTIONS)
+ def test_missing_section(self, section):
+ rule_cfg = { s: [] for s in CONFIG_SECTIONS if s != section}
+ self.write_config(yaml.dump(rule_cfg))