예제 #1
0
 def test_unhappy_path(self):
     self.assertFalse(
         finder(self.snippet, 'ingress', {
             'cidr_blocks.0': '0.0.0.0/0',
             'from_port': '0',
             'self': 'true'
         }))
예제 #2
0
 def finder(parent, starts_with, matching_object):
     return finder(parent, starts_with, matching_object)
예제 #3
0
 def test_happy_path(self):
     self.assertTrue(
         finder(self.snippet, 'ingress', {
             'cidr_blocks.0': '0.0.0.0/0',
             'from_port': '3389'
         }))