예제 #1
0
 def test_without_core_conn(self):
     up, core, down = self._setup(1, 0, 0, 1)
     ntools.assert_true(path_combinator._check_connected(up, None, down))
예제 #2
0
 def test_with_core_down_discon(self):
     up, core, down = self._setup(1, 1, 2, 3)
     ntools.assert_false(path_combinator._check_connected(up, core, down))