コード例 #1
0
 def test_character_short_name_removes_max(self):
     short_name = importer.shorten_character_name(
         'this_is_a_length_char_max_ly')
     self.assertEquals('this_is_a_length_char_ly', short_name)
コード例 #2
0
ファイル: tests.py プロジェクト: DarcyMyers/gobotany-app
 def test_character_short_name_removes_max(self):
     short_name = importer.shorten_character_name(
         'this_is_a_length_char_max_ly')
     self.assertEquals('this_is_a_length_char_ly', short_name)
コード例 #3
0
 def test_character_short_name_retains_pile_suffix(self):
     short_name = importer.shorten_character_name('this_is_a_character_ly')
     self.assertEquals('this_is_a_character_ly', short_name)
コード例 #4
0
ファイル: tests.py プロジェクト: DarcyMyers/gobotany-app
 def test_character_short_name_retains_pile_suffix(self):
     short_name = importer.shorten_character_name('this_is_a_character_ly')
     self.assertEquals('this_is_a_character_ly', short_name)