예제 #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()))
예제 #2
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'))
예제 #3
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'])
예제 #4
0
파일: artist.py 프로젝트: timlehr/vgmdb
 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()))
예제 #5
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'])
예제 #6
0
파일: artist.py 프로젝트: timlehr/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'])
예제 #7
0
파일: artist.py 프로젝트: timlehr/vgmdb
 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'))
예제 #8
0
파일: artist.py 프로젝트: timlehr/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'])
예제 #9
0
파일: artist.py 프로젝트: 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"])
예제 #10
0
파일: artist.py 프로젝트: 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"])