Skip to content

Commit 455f1dc

Browse files
committed
lint compliance
1 parent e18c6f6 commit 455f1dc

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

usafacts/tests/test_run.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
import pytest
2-
1+
"""Tests for running the USAFacts indicator."""
32
from itertools import product
43
from os import listdir
54
from os.path import join
65

76
import pandas as pd
8-
from delphi_usafacts.run import run_module
97

108

119
class TestRun:
10+
"""Tests for the `run_module()` function."""
1211
def test_output_files_exist(self, run_as_module):
13-
12+
"""Test that the expected output files exist."""
1413
csv_files = [f for f in listdir("receiving") if f.endswith(".csv")]
1514

1615
dates = [
@@ -45,7 +44,7 @@ def test_output_files_exist(self, run_as_module):
4544
assert set(csv_files) == set(expected_files)
4645

4746
def test_output_file_format(self, run_as_module):
48-
47+
"""Test that the output files have the proper format."""
4948
df = pd.read_csv(
5049
join("receiving", "20200310_state_confirmed_cumulative_num.csv")
5150
)

0 commit comments

Comments
 (0)