mirror of
https://github.com/beetbox/beets.git
synced 2026-01-07 16:34:45 +01:00
Running ./setup.py test works again
This commit is contained in:
parent
dffa13e0a4
commit
34f113bbcf
1 changed files with 7 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ import os
|
|||
import sqlite3
|
||||
|
||||
import _common
|
||||
from _common import unittest
|
||||
from beets import dbcore
|
||||
|
||||
|
||||
|
|
@ -180,3 +181,9 @@ class ModelTest(_common.TestCase):
|
|||
|
||||
other_model = self.db._get(TestModel1, model.id)
|
||||
self.assertEqual(other_model.foo, 'bar')
|
||||
|
||||
def suite():
|
||||
return unittest.TestLoader().loadTestsFromName(__name__)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main(defaultTest='suite')
|
||||
|
|
|
|||
Loading…
Reference in a new issue