Skip to content

test coverage for appover does not cover mixed submissions #376

@d3flex

Description

@d3flex

One tricky part. I checked the codecov and it says 100%. The tricky part is that I notice that you are testing single_submission cases. it is a mixed one or merge it in one with the @pytest.mark.parametrize

Originally posted by @d3flex in #374

test_single_submission_waiting and test_single_submission_stopped run the approver() which exercises the max(). With one only item the test doesnt really verify the https://github.com/openSUSE/qem-bot/pull/374/changes#diff-d44cab80bf43c62865043529f6e9883cc12ab37d49f5fb5af9e1bdc7c012dcaaR369

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions