1
0
mirror of https://github.com/containers/ramalama.git synced 2026-02-06 00:48:04 +01:00
Files
ramalama/test/e2e/test_basic.py
Roberto Majadas e45562616a Introduce tox for testing and add e2e framework
This commit refactors the testing infrastructure to use tox,
centralizing the configuration in pyproject.toml.

Key changes:
- Makefile test targets now delegate to tox.
- A new pytest-based e2e testing framework is added.
- An initial e2e test for the version command is included.

Signed-off-by: Roberto Majadas <rmajadas@redhat.com>
2025-09-17 14:24:23 +02:00

12 lines
221 B
Python

import re
import pytest
from utils import check_output
@pytest.mark.e2e
def test_version_line_output():
result = check_output(["ramalama", "version"])
assert re.match(r"ramalama version \d+\.\d+.\d+", result)