コード例 #1
0
 def test_with_invalid_currency_code(self):
     self.assertFalse(get_symbol('XYZ'))
コード例 #2
0
ファイル: test.py プロジェクト: MicroPyramid/forex-python
 def test_with_invalid_currency_code(self):
     self.assertFalse(get_symbol('XYZ'))
コード例 #3
0
 def test_with_valid_currency_code(self):
     self.assertEqual(str(get_symbol('USD')), 'US$')
コード例 #4
0
ファイル: test.py プロジェクト: MicroPyramid/forex-python
 def test_with_valid_currency_code(self):
     self.assertEqual(str(get_symbol('USD')), 'US$')