From: Michael Tremer Date: Tue, 18 Oct 2022 17:06:13 +0000 (+0000) Subject: tests: Fix creating uploads X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2ddf37cbff567eb14b6074bc9b3ee5252b5f919c;p=pbs.git tests: Fix creating uploads Signed-off-by: Michael Tremer --- diff --git a/tests/test.py b/tests/test.py index 504e4aa0..b681af3b 100644 --- a/tests/test.py +++ b/tests/test.py @@ -203,9 +203,9 @@ class TestCase(unittest.IsolatedAsyncioTestCase): if not buf: break - upload.write(buf) + await upload.write(buf) # Complete the upload - upload.completed() + await upload.completed() return upload