Skip to content

Некорректная загрузка результатов в облачную TMS при форматировании заголовков с @pytest.mark.parametrize #267

@DocWARG

Description

@DocWARG

packages:
testit-adapter-pytest 4.1.12.post570
testit-api-client 7.5.6
testit-python-commons 4.1.12.post570

test:
@pytest.mark.parametrize('fleet,whoIs,entities,header',[
(isFleet, "Флит", (Contract(), Card()), '1'),
(isFleet, "Флит", (Contract(), Card(),), '2'),
(isFleet, "Флит", (Contract(),Card()), '3'),
(isFleet, "Флит", (Contract(), Card()), '4'),
(isFleet, "Флит", (Contract(), Card()), '5'),
(isFleet, "Флит", (Contract(), Card()), '6'),
(isFleet, "Флит", (Contract(), Card()), '7'),
(notFleet, "Водитель", (Card(), Contract()), '8'),
])

@testit.nameSpace("E1")
@testit.className("Баланс компании")
@testit.displayName("{header}")

def test_1(stand,
fleet, whoIs, entities, header
):
pass

Execution:
pytest tests/balance_test.py --stand="uat-1" --testit --tmsPrivateToken=abcDef0123

log:
INFO testit_python_commons.services.sync_storage.sync_storage_runner:sync_storage_runner.py:296 SyncStorage: 2026/05/15 16:49:15 Set worker status request received
INFO:testit_python_commons.services.sync_storage.sync_storage_runner:SyncStorage: 2026/05/15 16:49:15 writeLog: Update worker status for 17e2c0b2-cc11-409f-958f-d6a780cc4a5b worker-2704-1778845589 completed
INFO testit_python_commons.services.sync_storage.sync_storage_runner:sync_storage_runner.py:296 SyncStorage: 2026/05/15 16:49:15 writeLog: Update worker status for 17e2c0b2-cc11-409f-958f-d6a780cc4a5b worker-2704-1778845589 completed
INFO:root:Successfully set worker worker-2704-1778845589 status to completed
INFO root:sync_storage_runner.py:523 Successfully set worker worker-2704-1778845589 status to completed
INFO:root:Bulk write summary: create=0, update=7, total=7
INFO root:api_client.py:256 Bulk write summary: create=0, update=7, total=7
INFO:testit_python_commons.services.sync_storage.sync_storage_runner:SyncStorage: 2026/05/15 16:49:19 writeLog: Connected Workers: 1
INFO testit_python_commons.services.sync_storage.sync_storage_runner:sync_storage_runner.py:296 SyncStorage: 2026/05/15 16:49:19 writeLog: Connected Workers: 1
INFO:testit_python_commons.services.sync_storage.sync_storage_runner:SyncStorage: 2026/05/15 16:49:19 writeLog: Current worker status: completed
INFO testit_python_commons.services.sync_storage.sync_storage_runner:sync_storage_runner.py:296 SyncStorage: 2026/05/15 16:49:19 writeLog: Current worker status: completed
INFO:testit_python_commons.services.sync_storage.sync_storage_runner:SyncStorage: 2026/05/15 16:49:19 writeLog: All are completed
INFO testit_python_commons.services.sync_storage.sync_storage_runner:sync_storage_runner.py:296 SyncStorage: 2026/05/15 16:49:19 writeLog: All are completed

Cloud TMS result:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions