Skip to content

Commit

Permalink
Augment test for Plarform.from_dict
Browse files Browse the repository at this point in the history
  • Loading branch information
itziakos committed Aug 21, 2024
1 parent 8cfd243 commit 6bb81a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions okonomiyaki/platforms/tests/test_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,14 +274,15 @@ def test_hashing(self):

self.assertNotEqual(win32_1, None)

def test_from_dict(self):
@parameterized.expand([X86, 'x86'])
def test_from_dict(self, arch):
# Given
dictionary = {
'os_kind': 'linux',
'name_kind': 'rocky',
'family_kind': 'rhel',
'release': '8.9',
'arch': 'x86',
'arch': arch,
'machine': 'arm64'}

# When
Expand Down

0 comments on commit 6bb81a3

Please sign in to comment.