From e403953754fd3c403c51e03cf2caf9669f019d18 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Thu, 29 Jan 2026 11:13:52 +0000 Subject: [PATCH] Add test suite for devterm --- tests/conftest.py | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/conftest.py 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"