MCPcopy Create free account
hub / github.com/McCloudS/subgen / test_none_input

Method test_none_input

tests/test_language_code.py:24–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 assert LanguageCode.from_string("Deutsch") == LanguageCode.GERMAN
23
24 def test_none_input(self):
25 assert LanguageCode.from_string(None) == LanguageCode.NONE
26
27 def test_empty_string(self):
28 assert LanguageCode.from_string("") == LanguageCode.NONE

Callers

nothing calls this directly

Calls 1

from_stringMethod · 0.80

Tested by

no test coverage detected