MCPcopy
hub / github.com/beetbox/beets / test_if_true

Method test_if_true

test/test_library.py:666–668  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

664 self._assert_dest(b"/base/x", item)
665
666 def test_if_true(self, item):
667 self._setf("%if{bar,foo}")
668 self._assert_dest(b"/base/foo", item)
669
670 def test_if_else_false(self, item):
671 self._setf("%if{,foo,baz}")

Callers

nothing calls this directly

Calls 2

_setfMethod · 0.80
_assert_destMethod · 0.45

Tested by

no test coverage detected