feat: list source resources and prompts
This commit is contained in:
@@ -98,6 +98,7 @@ def test_file_store_saves_and_loads_neutral_auth_record(tmp_path: Path) -> None:
|
||||
|
||||
loaded = store.load_auth_record("github.work")
|
||||
assert loaded is not None
|
||||
assert isinstance(loaded, NeutralAuthRecord)
|
||||
assert loaded.id == record.id
|
||||
assert loaded.scheme == record.scheme
|
||||
assert loaded.payload == record.payload
|
||||
|
||||
@@ -102,6 +102,7 @@ def test_file_store_accepts_neutral_auth_ref_without_connection_shape(
|
||||
|
||||
loaded = store.load_auth_record("api_ci-1")
|
||||
assert loaded is not None
|
||||
assert isinstance(loaded, NeutralAuthRecord)
|
||||
assert loaded.id == "api_ci-1"
|
||||
assert loaded.scheme == "bearer"
|
||||
assert loaded.payload == {"token": "secret"}
|
||||
|
||||
Reference in New Issue
Block a user