diff --git a/tests/conftest.py b/tests/conftest.py new file mode 100644 index 0000000..20129df --- /dev/null +++ b/tests/conftest.py @@ -0,0 +1,28 @@ +"""Pytest configuration and fixtures for Devterm tests.""" + +import pytest + + +@pytest.fixture +def sample_json(): + return '{"key": "value", "nested": {"data": true}}' + + +@pytest.fixture +def sample_jwt(): + return "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" + + +@pytest.fixture +def sample_cron(): + return "* * * * *" + + +@pytest.fixture +def sample_base64_input(): + return "Hello, World! This is a test." + + +@pytest.fixture +def sample_url_input(): + return "https://example.com/path?query=value&other=test"