Skip to content

Commit

Permalink
ruff format tests
Browse files Browse the repository at this point in the history
  • Loading branch information
briehl committed Dec 3, 2024
1 parent 0f1d35f commit ffb2a4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ async def test_bulk_specification_dts_fail_wrong_format():
fu.make_dir("testuser/dts_folder") # testuser is hardcoded in the auth mock
base = Path(fu.base_dir) / "testuser"
manifest = "test_manifest.json"
manifest_data = [ "wrong", "format" ]
manifest_data = ["wrong", "format"]
with open(base / manifest, "w", encoding="utf-8") as f:
json.dump(manifest_data, f)
resp = await cli.get(f"bulk_specification/?files={manifest}&dts=1")
Expand All @@ -1203,7 +1203,7 @@ async def test_bulk_specification_dts_fail_wrong_format():
"type": "cannot_parse_file",
"file": f"testuser/{manifest}",
"message": "Manifest is not a dictionary",
"tab": None
"tab": None,
}
]
}
Expand Down

0 comments on commit ffb2a4f

Please sign in to comment.