2017-08-07 11:10:06 +00:00
|
|
|
# This file is part of Supysonic.
|
|
|
|
# Supysonic is a Python implementation of the Subsonic server API.
|
2017-07-14 10:14:10 +00:00
|
|
|
#
|
2019-02-09 14:39:58 +00:00
|
|
|
# Copyright (C) 2017-2019 Alban 'spl0k' Féron
|
2017-10-26 19:41:16 +00:00
|
|
|
# 2017 Óscar García Amor
|
2017-08-07 11:10:06 +00:00
|
|
|
#
|
|
|
|
# Distributed under terms of the GNU AGPLv3 license.
|
|
|
|
|
2021-11-20 20:01:00 +00:00
|
|
|
import os.path
|
2017-07-14 10:14:10 +00:00
|
|
|
|
2017-08-07 11:10:06 +00:00
|
|
|
|
2021-11-20 20:01:00 +00:00
|
|
|
def load_tests(loader, tests, pattern):
|
|
|
|
this_dir = os.path.dirname(__file__)
|
|
|
|
tests.addTests(loader.discover(start_dir=this_dir, pattern="test*.py"))
|
|
|
|
tests.addTests(loader.discover(start_dir=this_dir, pattern="issue*.py"))
|
|
|
|
return tests
|