Initial commit
This commit is contained in:
commit
1b51716d1b
72 changed files with 8204 additions and 0 deletions
18
tests/api/__init__.py
Normal file
18
tests/api/__init__.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue