mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 05:56:37 +00:00
fixed default test
This commit is contained in:
parent
cf1aec6922
commit
aa3bc7e6af
@ -1719,15 +1719,9 @@ class TasksTestCase(TestCase):
|
||||
|
||||
class TypeDirectoryPathTestCase(TestCase):
|
||||
def setUp(self):
|
||||
# Mock settings for testing
|
||||
self.audio_dir = Path("/mock/audio/dir")
|
||||
self.video_dir = Path("/mock/video/dir")
|
||||
self.download_dir = Path("/mock/download/dir")
|
||||
settings.DOWNLOAD_AUDIO_DIR = self.audio_dir
|
||||
settings.DOWNLOAD_VIDEO_DIR = self.video_dir
|
||||
settings.DOWNLOAD_DIR = self.download_dir
|
||||
|
||||
# Create a source object for testing
|
||||
self.audio_dir = Path(settings.DOWNLOAD_AUDIO_DIR)
|
||||
self.video_dir = Path(settings.DOWNLOAD_VIDEO_DIR)
|
||||
self.download_dir = Path(settings.DOWNLOAD_ROOT)
|
||||
self.source = Source(
|
||||
directory="test_directory",
|
||||
source_resolution=Source.SOURCE_RESOLUTION_AUDIO,
|
||||
|
Loading…
Reference in New Issue
Block a user