1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-14 14:12:17 +00:00
supysonic/tests/__init__.py
2021-11-20 21:01:00 +01:00

17 lines
515 B
Python

# This file is part of Supysonic.
# Supysonic is a Python implementation of the Subsonic server API.
#
# Copyright (C) 2017-2019 Alban 'spl0k' Féron
# 2017 Óscar García Amor
#
# Distributed under terms of the GNU AGPLv3 license.
import os.path
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