From 76e3c78ff0371c6fc0b973320b4f7b8b14d842e8 Mon Sep 17 00:00:00 2001 From: tcely Date: Mon, 17 Feb 2025 05:53:32 -0500 Subject: [PATCH] Ensure the directory exists for testing --- tubesync/sync/tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tubesync/sync/tests.py b/tubesync/sync/tests.py index 1c99e82b..9a40096c 100644 --- a/tubesync/sync/tests.py +++ b/tubesync/sync/tests.py @@ -212,6 +212,8 @@ class FrontEndTestCase(TestCase): task = Task.objects.get_task('sync.tasks.index_source_task', args=(source_uuid,))[0] self.assertEqual(task.queue, source_uuid) + # Run the check_source_directory_exists task + check_source_directory_exists.now(source_uuid) # Check the source is now on the source overview page response = c.get('/sources') self.assertEqual(response.status_code, 200)