Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Kilian committed Oct 24, 2023
1 parent 367e8ea commit 6bddd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_writer(writer_type):
vid_embeds = [np.ones((N_FRAMES, lat_dim), dtype=float) * i for i in range(N_VIDS)]

for i, emb in enumerate(vid_embeds):
fake_metadata = {"caption": str(i), "x": i}
fake_metadata = {"json": {"caption": str(i), "x": i}, "txt": str(i)}
writer.write(emb, str(i), fake_metadata)
writer.close()

Expand Down

0 comments on commit 6bddd96

Please sign in to comment.