2018-03-04 20:49:56 +00:00
|
|
|
# coding: utf-8
|
2017-10-28 09:16:44 +00:00
|
|
|
#
|
|
|
|
# This file is part of Supysonic.
|
|
|
|
# Supysonic is a Python implementation of the Subsonic server API.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2017 Alban 'spl0k' Féron
|
|
|
|
#
|
|
|
|
# Distributed under terms of the GNU AGPLv3 license.
|
|
|
|
|
|
|
|
import unittest
|
|
|
|
|
2017-12-10 17:22:03 +00:00
|
|
|
from .test_cli import CLITestCase
|
2019-01-14 06:46:21 +00:00
|
|
|
from .test_cache import CacheTestCase
|
2017-12-10 17:22:03 +00:00
|
|
|
from .test_config import ConfigTestCase
|
2017-10-28 09:16:44 +00:00
|
|
|
from .test_db import DbTestCase
|
2017-11-25 21:21:58 +00:00
|
|
|
from .test_scanner import ScannerTestCase
|
2018-04-01 10:32:36 +00:00
|
|
|
from .test_secret import SecretTestCase
|
2017-12-05 22:18:39 +00:00
|
|
|
from .test_watcher import suite as watcher_suite
|
2017-10-28 09:16:44 +00:00
|
|
|
|
2019-06-29 15:25:44 +00:00
|
|
|
|
2017-10-28 09:16:44 +00:00
|
|
|
def suite():
|
|
|
|
suite = unittest.TestSuite()
|
|
|
|
|
2019-01-14 06:46:21 +00:00
|
|
|
suite.addTest(unittest.makeSuite(CacheTestCase))
|
2017-12-10 17:22:03 +00:00
|
|
|
suite.addTest(unittest.makeSuite(ConfigTestCase))
|
2017-10-28 09:16:44 +00:00
|
|
|
suite.addTest(unittest.makeSuite(DbTestCase))
|
2017-11-25 21:21:58 +00:00
|
|
|
suite.addTest(unittest.makeSuite(ScannerTestCase))
|
2017-12-05 22:18:39 +00:00
|
|
|
suite.addTest(watcher_suite())
|
2017-12-10 16:53:02 +00:00
|
|
|
suite.addTest(unittest.makeSuite(CLITestCase))
|
2018-04-01 10:32:36 +00:00
|
|
|
suite.addTest(unittest.makeSuite(SecretTestCase))
|
2017-10-28 09:16:44 +00:00
|
|
|
|
|
|
|
return suite
|