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

Method test_parse_fixed_field

test/test_dbcore.py:525–528  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

523
524class ParseTest(unittest.TestCase):
525 def test_parse_fixed_field(self):
526 value = ModelFixture1._parse("field_one", "2")
527 assert isinstance(value, int)
528 assert value == 2
529
530 def test_parse_flex_field(self):
531 value = ModelFixture1._parse("some_float_field", "2")

Callers

nothing calls this directly

Calls 1

_parseMethod · 0.80

Tested by

no test coverage detected