Skip to content

Commit

Permalink
fixup! remote/client: replace manual place checks with helper method …
Browse files Browse the repository at this point in the history
…calls

Update expected error in test.
  • Loading branch information
Bastian-Krause committed Jul 23, 2024
1 parent ef13c04 commit 8e60b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def test_place_add_no_name(coordinator):

def test_place_del_no_name(coordinator):
with pexpect.spawn('python -m labgrid.remote.client delete') as spawn:
spawn.expect("name was not a string")
spawn.expect("place pattern not specified")
spawn.expect(pexpect.EOF)
spawn.close()
assert spawn.exitstatus != 0, spawn.before.strip()
Expand Down

0 comments on commit 8e60b32

Please sign in to comment.