Skip to content

Commit

Permalink
test_template: just add another test case for arch
Browse files Browse the repository at this point in the history
Signed-off-by: Kyr Shatskyy <[email protected]>
  • Loading branch information
Kyr Shatskyy committed Jul 31, 2024
1 parent 9563715 commit 4ba0d6e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions downburst/test/test_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ def test_domain_name():
assert name == 'fakename'


def test_domain_arch():
tree = template.domain(
name='fakename',
disk_key='/fake/path',
iso_key='/fake/iso',
emulator='/fake/emulator/path',
)
arch = tree.xpath('/domain/os/type/@arch')
assert arch == ['x86_64']


def test_domain_disk():
tree = template.domain(
name='fakename',
Expand Down

0 comments on commit 4ba0d6e

Please sign in to comment.