Skip to content

Commit 9295b61

Browse files
committed
make test fixtures compatible with python 3.11 and older
1 parent a75767e commit 9295b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def ssh_config():
2525
@pytest.fixture(scope="module")
2626
def foremanapi(ssh_config):
2727
return apypie.ForemanApi(
28-
uri=f'https://{ssh_config['hostname']}',
28+
uri=f'https://{ssh_config["hostname"]}',
2929
username='admin',
3030
password='changeme',
3131
verify_ssl=False,

0 commit comments

Comments
 (0)