Beispiel #1
0
def test_shorten_fqdn(s, expected):
    assert text.shorten_fqdn(s) == expected
Beispiel #2
0
 def _repr_info(self) -> str:
     return shorten_fqdn(self.name)