(master_opts)
| 50 | |
| 51 | |
| 52 | def test_resolve_nodegroup_error(master_opts): |
| 53 | master_opts["nodegroups"] = { |
| 54 | "group1": "L@spongebob,patrick", |
| 55 | "group2": "G@os:squidward", |
| 56 | "group3": "G@os:plankton and N@group1", |
| 57 | } |
| 58 | local_client = salt.client.get_local_client(mopts=master_opts) |
| 59 | with pytest.raises(SaltInvocationError): |
| 60 | local_client._resolve_nodegroup("missing") |
| 61 | |
| 62 | |
| 63 | def test_prep_pub(local_client): |
nothing calls this directly
no test coverage detected