From d7bbbfe38357e12e052cd766d1811a0e797f03d3 Mon Sep 17 00:00:00 2001 From: spl0k Date: Sat, 9 Feb 2019 15:39:58 +0100 Subject: [PATCH] Added test case for #133 --- tests/__init__.py | 4 +++- tests/assets/issue133.flac | Bin 0 -> 1955 bytes tests/issue133.py | 46 +++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 tests/assets/issue133.flac create mode 100644 tests/issue133.py diff --git a/tests/__init__.py b/tests/__init__.py index a7c5e76..d6897a2 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -3,7 +3,7 @@ # This file is part of Supysonic. # Supysonic is a Python implementation of the Subsonic server API. # -# Copyright (C) 2017-2018 Alban 'spl0k' Féron +# Copyright (C) 2017-2019 Alban 'spl0k' Féron # 2017 Óscar García Amor # # Distributed under terms of the GNU AGPLv3 license. @@ -17,6 +17,7 @@ from . import frontend from .issue101 import Issue101TestCase from .issue129 import Issue129TestCase +from .issue133 import Issue133TestCase def suite(): suite = unittest.TestSuite() @@ -27,6 +28,7 @@ def suite(): suite.addTest(frontend.suite()) suite.addTest(unittest.makeSuite(Issue101TestCase)) suite.addTest(unittest.makeSuite(Issue129TestCase)) + suite.addTest(unittest.makeSuite(Issue133TestCase)) return suite diff --git a/tests/assets/issue133.flac b/tests/assets/issue133.flac new file mode 100644 index 0000000000000000000000000000000000000000..a09dc3a968463452881425c15e769f067040126b GIT binary patch literal 1955 zcmeIz%WD%+6bA5HGqDf*N@9IAX=7S#8_kdiYM~60#!96x`Uq`>ERuE##WX2R+8_l{ zP$-BCSAyV1_gx7^vTTs5xQL75LQw>1-E`qbAwr$+$XD=hFqeUu-??Y*y>l+ynH!8p zlu|yYa$2`W>#8Y47L~0}ndzO^`9N;-eegkTbXT)$O5Lxsat7loa~Hey&;>md4BD*# zUW_kg=QCMjJiTCg|2{WZ(TTBeWMDWt)Y~^^q*JB~iOIzBf)UP{8A*kjtgxAyNza-~ z#y^82KRcgInufx_$}3QJmF>6HQ*Px7lq>KbR$%|vv|C-_hmXF5E4pdlL-gIt&Gfxj zaGjg}`2()Up(rh}4maSCmF9Q?H;&L>cVS0A{pcg?4Aa^j*maH0y?~F7)9VJ@G(mr= zhL6SQ{wRF>2Hg{fPvq#;Uijo9U9|$Ax