Fixes label for privacy field

This commit is contained in:
Mouse Reeve
2021-11-11 12:53:48 -08:00
parent a95e031140
commit d807774c2d
2 changed files with 5 additions and 4 deletions

View File

@ -61,7 +61,8 @@ class ImportViews(TestCase):
csv_file = pathlib.Path(__file__).parent.joinpath("../data/goodreads.csv")
form.data[
"csv_file"
] = SimpleUploadedFile( # pylint: disable=consider-using-with
] = SimpleUploadedFile(
# pylint: disable=consider-using-with
csv_file, open(csv_file, "rb").read(), content_type="text/csv"
)