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

Method test_get_nodes

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

Source from the content-addressed store, hash-verified

54 assert proto == "peer" and addr == "1.2.3.4"
55
56 def test_get_nodes(self, qtbot):
57 nodes = self.nodes.get_nodes()
58 print(nodes)
59
60 assert nodes.get("peer:1.2.3.4") != None
61
62 def test_add_rule(self, qtbot):
63 self.nodes.add_rule(

Callers

nothing calls this directly

Calls 2

get_nodesMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected