mirror of
https://github.com/beetbox/beets.git
synced 2026-02-09 00:41:57 +01:00
tests: Fix setup.py test
test_hidden was missing suite() which made testall.suite() fail
This commit is contained in:
parent
74aeb0edbc
commit
06072c5d7d
1 changed files with 7 additions and 0 deletions
|
|
@ -72,3 +72,10 @@ class HiddenFileTest(unittest.TestCase):
|
|||
|
||||
with tempfile.NamedTemporaryFile(prefix='.tmp') as f:
|
||||
self.assertTrue(hidden.is_hidden(f.name))
|
||||
|
||||
|
||||
def suite():
|
||||
return unittest.TestLoader().loadTestsFromName(__name__)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main(defaultTest='suite')
|
||||
|
|
|
|||
Loading…
Reference in a new issue