Exemplo n.º 1
0
	def test_jeremy_name(self):
		""" English names don't have anything in this field """
		jeremy_name = u""
		name_info = artist._parse_full_name(jeremy_name)
		self.assertEqual(0, len(name_info.keys()))
Exemplo n.º 2
0
	def test_sungwoon_name(self):
		""" Korean name """
		sung_name = u"장 성운 (ジャン ソンウン)"
		name_info = artist._parse_full_name(sung_name)
		self.assertEqual( u'장 성운',name_info['name_real'])
		self.assertEqual(u'ジャン ソンウン', name_info['name_trans'])
Exemplo n.º 3
0
	def test_black_mages_name(self):
		""" no trans name """
		blackmages_name = u"ザ・ブラックメイジーズ"
		name_info = artist._parse_full_name(blackmages_name)
		self.assertEqual(u'ザ・ブラックメイジーズ', name_info['name_real'])
		self.assertTrue(not name_info.has_key('name_trans'))
Exemplo n.º 4
0
	def test_nobuo_name(self):
		""" Japanese name """
		nobuo_name = u"植松 伸夫 (うえまつ のぶお)"
		name_info = artist._parse_full_name(nobuo_name)
		self.assertEqual(u'植松 伸夫', name_info['name_real'])
		self.assertEqual(u'うえまつ のぶお', name_info['name_trans'])
Exemplo n.º 5
0
Arquivo: artist.py Projeto: qood/vgmdb
 def test_sungwoon_name(self):
     """ Korean name """
     sung_name = u"장 성운 (ジャン ソンウン)"
     name_info = artist._parse_full_name(sung_name)
     self.assertEqual(u"장 성운", name_info["name_real"])
     self.assertEqual(u"ジャン ソンウン", name_info["name_trans"])
Exemplo n.º 6
0
Arquivo: artist.py Projeto: qood/vgmdb
 def test_nobuo_name(self):
     """ Japanese name """
     nobuo_name = u"植松 伸夫 (うえまつ のぶお)"
     name_info = artist._parse_full_name(nobuo_name)
     self.assertEqual(u"植松 伸夫", name_info["name_real"])
     self.assertEqual(u"うえまつ のぶお", name_info["name_trans"])