Initial commit

This commit is contained in:
Neill Cox 2023-09-11 20:22:22 +10:00
commit 1b51716d1b
72 changed files with 8204 additions and 0 deletions

18
tests/api/__init__.py Normal file
View file

@ -0,0 +1,18 @@
"""API related tests"""
from argparse import Namespace
import pytest
@pytest.fixture
def secrets():
"""Deprecated"""
return {"server": "idrac-01", "username": "root", "password": "secrete"}
def args(**kwargs):
"""Base args for tests"""
kwargs.update(
{"server": "idrac-01", "username": "root", "password": "secrete"}
)
return Namespace(**kwargs)