MCPcopy
hub / github.com/evilsocket/opensnitch / test_delete

Method test_delete

ui/tests/test_nodes.py:143–149  ·  view source on GitHub ↗
(self, qtbot)

Source from the content-addressed store, hash-verified

141 assert self.nid not in self.nodes._notifications_sent
142
143 def test_delete(self, qtbot):
144 self.nodes.delete("peer:1.2.3.4")
145 node = self.nodes.get_node("peer:1.2.3.4")
146 nodes = self.nodes.get_nodes()
147
148 assert node == None
149 assert nodes.get("peer:1.2.3.4") == None

Callers

nothing calls this directly

Calls 4

get_nodeMethod · 0.80
get_nodesMethod · 0.80
deleteMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected