Simplistic check for convert_security_group_rule_to_classifier

Change-Id: I476f3d559dbe9f6cf6b9f617b2c63885c861cd53
This commit is contained in:
Sean M. Collins 2015-12-01 12:49:29 -05:00
parent b32284e787
commit c53a5933e2
1 changed files with 3 additions and 1 deletions

View File

@ -67,7 +67,9 @@ class DbApiTestCase(base.BaseTestCase):
'port_range_max': 80,
'remote_ip_prefix': 'fddf:cb3b:bc4::/48',
}
api.convert_security_group_rule_to_classifier(self.context, sg_rule)
result = api.convert_security_group_rule_to_classifier(self.context,
sg_rule)
self.assertIsNotNone(result)
def test_convert_firewall_rule_to_classifier(self):
firewall_rule = {'protocol': 'foo',