From 9ee75d02522b5ebd832a384b0a463e9ce2e130cc Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Mon, 28 Aug 2023 14:46:09 +0200 Subject: [PATCH] test: Use the right assert to validate empty file field Part-of: --- api/tests/common/test_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/tests/common/test_commands.py b/api/tests/common/test_commands.py index 6b9a997a7..4e8956e2d 100644 --- a/api/tests/common/test_commands.py +++ b/api/tests/common/test_commands.py @@ -128,7 +128,7 @@ def test_inplace_to_s3_dryrun(factories): upload = factories["music.Upload"](in_place=True, source="file:///music/music.mp3") call_command("inplace_to_s3", "--source", "/music") assert upload.source == "file:///music/music.mp3" - assert upload.audio_file is None + assert not upload.audio_file data = [