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 17, 2024
1 parent cd2d18f commit d7b7e04
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 d7b7e04

Please sign in to comment.