Skip to content

Commit

Permalink
Merge pull request #188 from asdil12/master
Browse files Browse the repository at this point in the history
Fix tests for new zypper version
  • Loading branch information
asdil12 authored Oct 23, 2024
2 parents 8b38e4e + 47910c7 commit 3e9ecf9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion test/01_install_from_packman.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import sys
import pexpect
import subprocess
import time

c = pexpect.spawn('./bin/opi x265', logfile=sys.stdout.buffer, echo=False)

Expand All @@ -20,8 +21,9 @@
c.expect('Import package signing key', timeout=10)
c.sendline('y')

c.expect('Overall download size', timeout=60)
c.expect('Package install size change', timeout=60)
c.expect('Continue', timeout=60)
time.sleep(3)
c.sendline('y')
c.interact()
c.wait()
Expand Down
2 changes: 1 addition & 1 deletion test/08_install_from_packman_non_interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

c.expect('1. .*Packman Essentials', timeout=10)

c.expect('Overall download size', timeout=60)
c.expect('Package install size change', timeout=60)
c.interact()
c.wait()
c.close()
Expand Down

0 comments on commit 3e9ecf9

Please sign in to comment.