Skip to content

Commit 9ab85da

Browse files
committed
Merge remote-tracking branch 'origin/format' into format
2 parents bd05311 + dac5f2e commit 9ab85da

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

app/utils/populations.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
import requests
2-
from io import StringIO, BytesIO
3-
from cachetools import cached, TTLCache
1+
from io import BytesIO, StringIO
42
from zipfile import ZipFile, ZipInfo
3+
4+
import requests
5+
from cachetools import TTLCache, cached
6+
57
from .countrycodes import country_code
68

9+
710
# Fetching of the populations.
811
def fetch_populations():
912
"""

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
Global conftest file for shared pytest fixtures
55
"""
66
import pytest
7-
from fastapi.testclient import TestClient
87

98
from app.main import APP
9+
from fastapi.testclient import TestClient
1010

1111

1212
@pytest.fixture

tests/test_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
from unittest import mock
55

66
import pytest
7-
from fastapi.testclient import TestClient
87

98
import app
109
from app import services
1110
from app.main import APP
11+
from fastapi.testclient import TestClient
1212

1313
from .test_jhu import DATETIME_STRING, mocked_requests_get, mocked_strptime_isoformat
1414

0 commit comments

Comments
 (0)