1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-03 23:51:48 +00:00
hetzner.hcloud/tests/unit/conftest.py
Jonas L. 5394c6f246
feat: add support for Storage Boxes (#676)
##### SUMMARY

We collect all changes for the Storage Box support in this PR. It will
only be merged when everything is implemented through smaller pull
requests targeting the `storage-boxes` branch.

---------

Co-authored-by: Julian Tölle <julian.toelle@hetzner-cloud.de>
2025-12-10 13:18:36 +01:00

16 lines
331 B
Python

from __future__ import annotations
from unittest.mock import MagicMock
import pytest
@pytest.fixture()
def module():
obj = MagicMock()
obj.params = {
"api_token": "dummy",
"api_endpoint": "https://api.hetzner.cloud/v1",
"api_endpoint_hetzner": "https://api.hetzner.com/v1",
}
return obj