Exemple #1
0
 def test_missing_region(self, mock_config):
     try:
         get_client()
     except RuntimeError as e:
         self.assertTrue("Missing" in str(e))
Exemple #2
0
 def test_get_client(self, mock_config):
     cli = get_client()
     # TODO this might break with changes in ses api
     self.assertTrue(cli.verify_email_identity is not None)
Exemple #3
0
 def test_missing_config(self, mock_config):
     try:
         get_client()
     except RuntimeError as e:
         self.assertTrue("Cannot configure mailer" in str(e))