Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dagger/dagger
/ test_wrong_object
Function
test_wrong_object
sdk/python/tests/client/test_inputs.py:98–100 ·
view source on GitHub ↗
(client: Client)
Source
from the content-addressed store, hash-verified
96
97
98
def
test_wrong_object(client: Client):
99
with
pytest.raises(TypeError):
100
client.container().with_file(
"a"
, client.directory())
101
102
103
def
test_no_object_id(client: Client):
Callers
nothing calls this directly
Calls
3
with_file
Method · 0.45
container
Method · 0.45
directory
Method · 0.45
Tested by
no test coverage detected