Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/datacenter/acitoolkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Smith committed Nov 12, 2016
2 parents c211064 + cbcab40 commit 8f086b4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/acitoolkit_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2967,6 +2967,14 @@ def test_set_scope(self):
bad_scope = 'bad-scope'
self.assertRaises(ValueError, out_net.set_scope, bad_scope)

def test_set_scope_to_none(self):
"""
Test the set_scope with None
"""
tenant = Tenant('cisco')
out_net = OutsideNetwork('OutsideNetwork', tenant)
self.assertRaises(TypeError, out_net.set_scope, None)

def test_get_json_detail(self):
"""
Make sure that the json is correct
Expand Down

0 comments on commit 8f086b4

Please sign in to comment.