MCPcopy
hub / github.com/jtesta/ssh-audit / cmp_tf

Method cmp_tf

test/test_algorithm.py:41–42  ·  view source on GitHub ↗
(v, s, r)

Source from the content-addressed store, hash-verified

39 def test_timeframe_creation(self):
40 # pylint: disable=line-too-long,too-many-statements
41 def cmp_tf(v, s, r):
42 assert str(self._tf(v, s)) == str(r)
43
44 cmp_tf(['6.2'], None, {'OpenSSH': ['6.2', None, '6.2', None]})
45 cmp_tf(['6.2'], True, {'OpenSSH': ['6.2', None, None, None]})

Callers

nothing calls this directly

Calls 1

_tfMethod · 0.95

Tested by

no test coverage detected