mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-28 06:28:56 +00:00
Reformat everything.
This commit is contained in:
parent
3f2213791a
commit
340ff8586d
1008 changed files with 61301 additions and 58309 deletions
|
|
@ -6,7 +6,7 @@ from __future__ import annotations
|
|||
|
||||
import pytest
|
||||
|
||||
linode_apiv4 = pytest.importorskip('linode_api4')
|
||||
linode_apiv4 = pytest.importorskip("linode_api4")
|
||||
|
||||
from ansible.errors import AnsibleError
|
||||
from ansible.parsing.dataloader import DataLoader
|
||||
|
|
@ -23,10 +23,10 @@ def inventory():
|
|||
|
||||
def test_missing_access_token_lookup(inventory):
|
||||
loader = DataLoader()
|
||||
inventory._options = {'access_token': None}
|
||||
inventory._options = {"access_token": None}
|
||||
with pytest.raises(AnsibleError) as error_message:
|
||||
inventory._build_client(loader)
|
||||
assert 'Could not retrieve Linode access token' in error_message
|
||||
assert "Could not retrieve Linode access token" in error_message
|
||||
|
||||
|
||||
def test_verify_file_yml(tmp_path, inventory):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue