2017-10-28 09:16:44 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vim:fenc=utf-8
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
from .test_config import ConfigTestCase
|
2017-10-28 09:16:44 +00:00
|
|
|
from .test_db import DbTestCase
|
2017-12-10 17:41:08 +00:00
|
|
|
from .test_lastfm import LastFmTestCase
|
2017-11-25 21:21:58 +00:00
|
|
|
from .test_scanner import ScannerTestCase
|
2017-12-05 22:18:39 +00:00
|
|
|
from .test_watcher import suite as watcher_suite
|
2017-10-28 09:16:44 +00:00
|
|
|
|
|
|
|
def suite():
|
|
|
|
suite = unittest.TestSuite()
|
|
|
|
|
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))
|
2017-12-10 17:41:08 +00:00
|
|
|
suite.addTest(unittest.makeSuite(LastFmTestCase))
|
2017-10-28 09:16:44 +00:00
|
|
|
|
|
|
|
return suite
|
|
|
|
|