Skip to content

Commit

Permalink
testg
Browse files Browse the repository at this point in the history
  • Loading branch information
jmphilli committed Jun 9, 2017
1 parent bc210f6 commit 3f6f84b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pynamodb/tests/test_base_connection.py
Expand Up @@ -338,6 +338,12 @@ def test_describe_table(self):
conn = Connection(self.region)
conn.describe_table(self.test_table_name)

with self.assertRaises(TableDoesNotExist):
with patch(PATCH_METHOD) as req:
req.side_effect = ValueError()
conn = Connection(self.region)
conn.describe_table(self.test_table_name)

def test_list_tables(self):
"""
Connection.list_tables
Expand Down

0 comments on commit 3f6f84b

Please sign in to comment.