Formatting
This commit is contained in:
@@ -26,7 +26,6 @@ def app(request):
|
||||
ctx = _app.app_context()
|
||||
ctx.push()
|
||||
|
||||
|
||||
yield _app
|
||||
|
||||
upload_dir.cleanup()
|
||||
|
@@ -13,4 +13,3 @@ MOCK_VALID_PE_ID = "8675309U"
|
||||
FIXTURE_EMAIL_ADDRESS = "artgarfunkel@uso.mil"
|
||||
|
||||
PDF_FILENAME = "tests/fixtures/sample.pdf"
|
||||
|
||||
|
@@ -31,4 +31,3 @@ def test_upload_fails_for_non_pdfs(uploader):
|
||||
fs = FileStorage(fp, content_type="text/plain")
|
||||
with pytest.raises(UploadError):
|
||||
uploader.upload(fs)
|
||||
|
||||
|
Reference in New Issue
Block a user