Skip to content

Commit

Permalink
Fixed test case
Browse files Browse the repository at this point in the history
  • Loading branch information
alexquali committed Nov 6, 2017
1 parent b6cb41c commit 152ad63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cloudshell/tests/utils/test_context_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ def test_get_reservation_context_attribute(self):
def test_get_reservation_context_attribute_exception(self):
domain = 'domain_name'
self.context.reservation.domain = domain
self.assertEqual(domain, get_reservation_context_attribute('domain', self.context))
with self.assertRaises(Exception):
get_reservation_context_attribute('domain', self.context)

def test_get_connectivity_context_attribute(self):
server_address = 'server_address'
Expand Down

0 comments on commit 152ad63

Please sign in to comment.