Skip to content

Commit

Permalink
Fix stray use of lookup.aio
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Jan 28, 2025
1 parent 0257049 commit f39256c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/volume_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_volume_commit(client, servicer, skip_reload):
@pytest.mark.asyncio
async def test_volume_get(servicer, client, tmp_path):
await modal.Volume.create_deployed.aio("my-vol", client=client)
vol = await modal.Volume.lookup.aio("my-vol", client=client) # type: ignore
vol = await modal.Volume.from_name("my-vol").hydrate.aio(client=client)

file_contents = b"hello world"
file_path = "foo.txt"
Expand Down

0 comments on commit f39256c

Please sign in to comment.