Add test suite for devterm
Some checks failed
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.8) (push) Has been cancelled
CI / test (3.9) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / typecheck (push) Has been cancelled
CI / build-package (push) Has been cancelled

This commit is contained in:
2026-01-29 11:13:52 +00:00
parent 7c269abb89
commit e403953754

28
tests/conftest.py Normal file
View File

@@ -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"