chore: apply pre-commit auto-fixes (trim trailing whitespace, EOF)
This commit is contained in:
@@ -160,13 +160,15 @@ class TestUpdateParseAndProbe:
|
||||
class TestUpdateTmdb:
|
||||
def test_promotes_identity_to_top_level(self, tmp_path):
|
||||
s = MetadataStore(tmp_path)
|
||||
s.update_tmdb({
|
||||
"status": "ok",
|
||||
"imdb_id": "tt1375666",
|
||||
"tmdb_id": 27205,
|
||||
"media_type": "movie",
|
||||
"title": "Inception",
|
||||
})
|
||||
s.update_tmdb(
|
||||
{
|
||||
"status": "ok",
|
||||
"imdb_id": "tt1375666",
|
||||
"tmdb_id": 27205,
|
||||
"media_type": "movie",
|
||||
"title": "Inception",
|
||||
}
|
||||
)
|
||||
data = s.load()
|
||||
assert data["imdb_id"] == "tt1375666"
|
||||
assert data["tmdb_id"] == 27205
|
||||
|
||||
Reference in New Issue
Block a user