diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-10 02:42:53 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-10 02:42:53 +0200 |
commit | a2cfab583c8739356fd7e6c0f822e8f247e61b87 (patch) | |
tree | f46a714aeb1f29af5189304615e89a78a404ad40 /test/py/conftest.py | |
parent | string: add a comment (diff) | |
download | cimple-a2cfab583c8739356fd7e6c0f822e8f247e61b87.tar.gz cimple-a2cfab583c8739356fd7e6c0f822e8f247e61b87.zip |
test: test CI run output containing \0
Diffstat (limited to '')
-rw-r--r-- | test/py/conftest.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/py/conftest.py b/test/py/conftest.py index 3a9c589..0131c37 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -8,10 +8,10 @@ import os from pytest import fixture +from lib import test_repo from lib.db import Database from lib.net import random_unused_port from lib.process import CmdLine -from lib.test_repo import TestRepoOutputSimple, TestRepoOutputEmpty, TestRepoOutputLong class Param: @@ -188,8 +188,13 @@ def client(client_cmd): return client_cmd -@fixture(params=[TestRepoOutputSimple, TestRepoOutputEmpty, TestRepoOutputLong], - ids=['output_simple', 'output_empty', 'output_long']) +@fixture(params=[ + test_repo.TestRepoOutputSimple, + test_repo.TestRepoOutputEmpty, + test_repo.TestRepoOutputLong, + test_repo.TestRepoOutputNull, + ], + ids=['output_simple', 'output_empty', 'output_long', 'output_null']) def test_repo(tmp_path, request): return request.param(os.path.join(tmp_path, 'repo')) |