mirror of
https://github.com/beetbox/beets.git
synced 2026-11-30 10:14:33 -06:00
16 lines
418 B
Python
16 lines
418 B
Python
from beets import library
|
|
from beets.test.helper import IOMixin, ItemInDBTestCase
|
|
|
|
|
|
class FieldsTest(IOMixin, ItemInDBTestCase):
|
|
def test_fields_func(self):
|
|
items = library.Item.all_keys()
|
|
albums = library.Album.all_keys()
|
|
|
|
output = set(self.run_with_output("fields").split())
|
|
items -= output
|
|
albums -= output
|
|
|
|
assert len(items) == 0
|
|
assert len(albums) == 0
|