Skip to content

Commit 34b27de

Browse files
committed
Fix tests
1 parent bb18530 commit 34b27de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dreadnode_cli/agent/tests/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def test_ensure_profile() -> None:
121121
agent_config.add_link("test-main", UUID("00000000-0000-0000-0000-000000000000"), "main")
122122
agent_config.active = "test-other"
123123
with patch("rich.prompt.Prompt.ask", return_value="n"):
124-
with pytest.raises(Exception, match="Agent link does not match the current server profile"):
124+
with pytest.raises(Exception, match="Current agent link"):
125125
ensure_profile(agent_config, user_config=user_config)
126126

127127
# We should switch if the user agrees

0 commit comments

Comments
 (0)