mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
pick-ui: fix enum value in test expectation
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34117>
This commit is contained in:
parent
9d9e0c9c1b
commit
70665e2df7
1 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ class TestCommit:
|
|||
'sha': 'abc123',
|
||||
'description': 'sub: A commit',
|
||||
'nominated': False,
|
||||
'nomination_type': None,
|
||||
'nomination_type': core.NominationType.NONE.value,
|
||||
'resolution': core.Resolution.UNRESOLVED.value,
|
||||
'main_sha': '45678',
|
||||
'because_sha': None,
|
||||
|
|
@ -381,7 +381,7 @@ class TestResolveNomination:
|
|||
await core.resolve_nomination(c, '16.1')
|
||||
|
||||
assert not c.nominated
|
||||
assert c.nomination_type is None
|
||||
assert c.nomination_type is core.NominationType.NONE
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_backport_is_nominated(self):
|
||||
|
|
@ -403,7 +403,7 @@ class TestResolveNomination:
|
|||
await core.resolve_nomination(c, '16.1')
|
||||
|
||||
assert not c.nominated
|
||||
assert c.nomination_type is None
|
||||
assert c.nomination_type is core.NominationType.NONE
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_revert_is_nominated(self):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue