import pytest from slz_check_complete.utils import check_uow_is_reprocessing @pytest.mark.parametrize( 'uow_id, expected', [ ('appreciationengine-20211116-sme-membersvisittotals-v1', False), ('appreciationengine-20211116-sme-membersvisittotals-v1-rp20191202T111141', True), ('apple-20191122-theorchard-amContent-v1_2-rp20191202T111111', True), ] ) def test_uow_is_reprocessing(uow_id, expected): result = check_uow_is_reprocessing(uow_id) assert result == expected