예제 #1
0
 def test_currency_type_returns_valid(self):
     assert valid_currency('usd') is True
예제 #2
0
 def test_currency_type_raises_invalid(self):
     assert valid_currency('not-a-code') is not True