mirror of
https://github.com/spl0k/supysonic.git
synced 2024-11-10 04:02:17 +00:00
Fix transcoding tests
This commit is contained in:
parent
dd2ef2ffeb
commit
42283817fe
@ -1,7 +1,7 @@
|
|||||||
# This file is part of Supysonic.
|
# This file is part of Supysonic.
|
||||||
# Supysonic is a Python implementation of the Subsonic server API.
|
# Supysonic is a Python implementation of the Subsonic server API.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2017-2020 Alban 'spl0k' Féron
|
# Copyright (C) 2017-2022 Alban 'spl0k' Féron
|
||||||
#
|
#
|
||||||
# Distributed under terms of the GNU AGPLv3 license.
|
# Distributed under terms of the GNU AGPLv3 license.
|
||||||
|
|
||||||
@ -9,7 +9,6 @@ import unittest
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
from flask import current_app
|
from flask import current_app
|
||||||
from pony.orm import db_session
|
|
||||||
|
|
||||||
from supysonic.db import Track
|
from supysonic.db import Track
|
||||||
from supysonic.managers.folder import FolderManager
|
from supysonic.managers.folder import FolderManager
|
||||||
@ -22,7 +21,6 @@ class TranscodingTestCase(ApiTestBase):
|
|||||||
def setUp(self):
|
def setUp(self):
|
||||||
super().setUp()
|
super().setUp()
|
||||||
|
|
||||||
with db_session:
|
|
||||||
FolderManager.add("Folder", "tests/assets/folder")
|
FolderManager.add("Folder", "tests/assets/folder")
|
||||||
scanner = Scanner()
|
scanner = Scanner()
|
||||||
scanner.queue_folder("Folder")
|
scanner.queue_folder("Folder")
|
||||||
|
Loading…
Reference in New Issue
Block a user