Пример #1
0
 def test_join_with_transcode_part(self):
     assert _transcode_join(("abc", "def")) == "abc@def"
Пример #2
0
 def test_join_too_many_parts(self):
     with pytest.raises(ValueError):
         _transcode_join(("a", "b", "c"))  # type: ignore
Пример #3
0
 def test_join_no_transcode_part(self):
     assert _transcode_join(("abc", "")) == "abc"