MCPcopy Index your code
hub / github.com/apache/caldera / test_same_subnet

Method test_same_subnet

tests/utility/test_ip_rule.py:58–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

56 assert await self.rs.is_fact_allowed(self.fact5)
57
58 async def test_same_subnet(self):
59 assert await self.rs._is_ip_rule_match(self.rule, self.fact6)
60 assert (not await self.rs.is_fact_allowed(self.fact6))

Callers

nothing calls this directly

Calls 2

_is_ip_rule_matchMethod · 0.80
is_fact_allowedMethod · 0.80

Tested by

no test coverage detected