mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-09 19:52:16 +00:00
Moving Last.fm test out of the main suite
This commit is contained in:
parent
ec31ba6ff7
commit
3070f39e4f
@ -9,5 +9,5 @@ install:
|
||||
- pip install -r travis-requirements.txt
|
||||
script:
|
||||
- coverage run setup.py test
|
||||
- coverage run -a setup.py test --test-suite tests.api.test_lyrics
|
||||
- coverage run -a setup.py test --test-suite tests.with_net
|
||||
after_script: codecov
|
||||
|
@ -13,7 +13,6 @@ from .test_cli import CLITestCase
|
||||
from .test_cache import CacheTestCase
|
||||
from .test_config import ConfigTestCase
|
||||
from .test_db import DbTestCase
|
||||
from .test_lastfm import LastFmTestCase
|
||||
from .test_scanner import ScannerTestCase
|
||||
from .test_secret import SecretTestCase
|
||||
from .test_watcher import suite as watcher_suite
|
||||
@ -28,7 +27,6 @@ def suite():
|
||||
suite.addTest(unittest.makeSuite(ScannerTestCase))
|
||||
suite.addTest(watcher_suite())
|
||||
suite.addTest(unittest.makeSuite(CLITestCase))
|
||||
suite.addTest(unittest.makeSuite(LastFmTestCase))
|
||||
suite.addTest(unittest.makeSuite(SecretTestCase))
|
||||
|
||||
return suite
|
||||
|
21
tests/with_net.py
Normal file
21
tests/with_net.py
Normal file
@ -0,0 +1,21 @@
|
||||
# coding: utf-8
|
||||
#
|
||||
# This file is part of Supysonic.
|
||||
# Supysonic is a Python implementation of the Subsonic server API.
|
||||
#
|
||||
# Copyright (C) 2019 Alban 'spl0k' Féron
|
||||
#
|
||||
# Distributed under terms of the GNU AGPLv3 license.
|
||||
|
||||
import unittest
|
||||
|
||||
from .api.test_lyrics import LyricsTestCase
|
||||
from .base.test_lastfm import LastFmTestCase
|
||||
|
||||
def suite():
|
||||
suite = unittest.TestSuite()
|
||||
|
||||
suite.addTest(unittest.makeSuite(LastFmTestCase))
|
||||
suite.addTest(unittest.makeSuite(LyricsTestCase))
|
||||
|
||||
return suite
|
Loading…
Reference in New Issue
Block a user