Fixes label for privacy field
This commit is contained in:
parent
a95e031140
commit
d807774c2d
2 changed files with 5 additions and 4 deletions
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue