示例#1
0
 def test_with_invalid_currency_code(self):
     self.assertFalse(get_currency_name('XYZ'))
示例#2
0
 def test_with_invalid_currency_code(self):
     self.assertFalse(get_currency_name('XYZ'))
示例#3
0
 def test_with_valid_currency_code(self):
     self.assertEqual(str(get_currency_name('USD')), 'United States dollar')
示例#4
0
 def test_with_valid_currency_code(self):
     self.assertEqual(str(get_currency_name('USD')), 'United States dollar')