Esempio n. 1
0
 def test_with_invalid_currency_code(self):
     self.assertFalse(get_symbol('XYZ'))
Esempio n. 2
0
 def test_with_invalid_currency_code(self):
     self.assertFalse(get_symbol('XYZ'))
Esempio n. 3
0
 def test_with_valid_currency_code(self):
     self.assertEqual(str(get_symbol('USD')), 'US$')
Esempio n. 4
0
 def test_with_valid_currency_code(self):
     self.assertEqual(str(get_symbol('USD')), 'US$')