コード例 #1
0
ファイル: tags.py プロジェクト: bsu/GWM
 def test_abbreviate_fqdn_abbreviated(self):
     self.assertEqual(tags.abbreviate_fqdn("subdomain"), "subdomain")
コード例 #2
0
ファイル: tags.py プロジェクト: bsu/GWM
 def test_abbreviate_fqdn(self):
     self.assertEqual(tags.abbreviate_fqdn("subdomain.example.com"),
         "subdomain")