mirror of
https://github.com/beetbox/beets.git
synced 2025-12-30 04:22:40 +01:00
Add missing unittest suite declaration (#2389)
This commit is contained in:
parent
272aa88703
commit
0f1a93c666
1 changed files with 8 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ from __future__ import division, absolute_import, print_function
|
|||
import os
|
||||
import six
|
||||
import shutil
|
||||
import unittest
|
||||
|
||||
from test import _common
|
||||
from beets.library import Item
|
||||
|
|
@ -105,3 +106,10 @@ class ExtendedFieldTestMixin(_common.TestCase):
|
|||
mediafile.MediaFile.add_field('artist', mediafile.MediaField())
|
||||
self.assertIn(u'property "artist" already exists',
|
||||
six.text_type(cm.exception))
|
||||
|
||||
|
||||
def suite():
|
||||
return unittest.TestLoader().loadTestsFromName(__name__)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main(defaultTest='suite')
|
||||
|
|
|
|||
Loading…
Reference in a new issue