Skip to content

PetitbootConfig: Update configuration tests #510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PetitbootConfig: Update configuration tests
A bunch of configuration-related tests were waiting for NVRAM support
and a reliable network address in Qemu. Now that we have it, update
these tests so that
a) they run at all,
b) they reflect current Petitboot behaviour, and
c) try to preserve the state of NVRAM before the test.

This has also had autopep8 run against it so bring it in to line with
other work.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
  • Loading branch information
sammj committed Jun 24, 2019
commit 0af8ec3a016bcd936b04ae604bf5381bd2a5b9d1
1 change: 1 addition & 0 deletions common/OpTestKeys.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ class OpTestKeys():
PGUP = '\x1b[5~'
ENTER = '\n'
SPACE = ' '
BACKSPACE = '\x7f'

Loading