예제 #1
0
 def test_vif_jump_not_present(self):
     self.assertFalse(arp_protect.vif_jump_present(
         'foobarbaz', self.EBTABLES_LOADED_SAMPLE))
예제 #2
0
 def test_vif_jump_present(self):
     self.assertTrue(arp_protect.vif_jump_present(
         self.VIF, self.EBTABLES_LOADED_SAMPLE))