Beispiel #1
0
 def test_S3_currency_file_required(self):
     with pytest.raises(TypeError):
         S3CurrencyConverter()
Beispiel #2
0
 def test_S3_currency_file_needs_get_contents_as_strings(self):
     with pytest.raises(AttributeError):
         S3CurrencyConverter('simple_string')
Beispiel #3
0
 def test_currency_file_required(self):
     with self.assertRaises(TypeError):
         #pylint: disable=no-value-for-parameter
         S3CurrencyConverter()