From 0a9b2c2e5eca8a04e37fbdd423379882863237c2 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 21 Jan 2023 12:21:03 +1100 Subject: Adjust backend coding style Increase line spacing, add section comments, etc --- backend/tests/enwiki/test_download_imgs.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backend/tests/enwiki/test_download_imgs.py') diff --git a/backend/tests/enwiki/test_download_imgs.py b/backend/tests/enwiki/test_download_imgs.py index 823ac37..949d885 100644 --- a/backend/tests/enwiki/test_download_imgs.py +++ b/backend/tests/enwiki/test_download_imgs.py @@ -1,6 +1,7 @@ import unittest from unittest.mock import Mock, patch -import tempfile, os +import tempfile +import os from tests.common import readTestFile, createTestDbTable from hist_data.enwiki.download_imgs import downloadImgs @@ -40,6 +41,7 @@ class TestDownloadInfo(unittest.TestCase): (16, 'six','cc-by','','fred','','https://upload.wikimedia.org/6.png'), } ) + # Create temp output directory with tempfile.TemporaryDirectory() as outDir: # Run -- cgit v1.2.3