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
29 lines
623 B
Python
29 lines
623 B
Python
"""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"
|