Skip to content

Commit

Permalink
Update conn object from fixture
Browse files Browse the repository at this point in the history
Signed-off-by: Webster Mudge <[email protected]>
  • Loading branch information
wmudge committed Dec 16, 2024
1 parent a5bcb00 commit 6c590f9
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ def test_missing_required(conn, module_args):


def test_present_invalid_parameter(conn, module_args):
conn.update(
parameters=dict(example="Example"),
module_args(
{
**conn,
"parameters": dict(example="Example"),
}
)
module_args(conn)

with pytest.raises(
AnsibleFailJson, match="Unknown configuration attribute 'example'"
Expand Down

0 comments on commit 6c590f9

Please sign in to comment.