mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-06-03 20:30:40 +02:00
adds tab completion test for client
This commit is contained in:
parent
16c1f966ab
commit
fe01ada733
@ -102,3 +102,17 @@ def test_list(pydase_client: pydase.Client) -> None:
|
||||
|
||||
pydase_client.proxy.list_attr.clear()
|
||||
assert pydase_client.proxy.list_attr == []
|
||||
|
||||
|
||||
def test_tab_completion(pydase_client: pydase.Client) -> None:
|
||||
# Tab completion gets its suggestions from the __dir__ class method
|
||||
assert all(
|
||||
x in pydase_client.proxy.__dir__()
|
||||
for x in [
|
||||
"list_attr",
|
||||
"my_method",
|
||||
"my_property",
|
||||
"name",
|
||||
"sub_service",
|
||||
]
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user