Commit 7e1dbe59 authored by chrissi^'s avatar chrissi^
Browse files

parker/test: Check if wg-key generated

parent a416b361
......@@ -127,6 +127,11 @@ def test_good_config_set_ssh_pubkey(target, in_good_config, config):
assert r.ok, "Could not place ssh key in web interface"
assert r.status_code == 200 , "Return code missmatch"
def test_generated_wg_key(target, in_good_config):
command = target.get_driver("ShellDriver")
stdout, _, code = command.run('cat /etc/parker/wg-privkey | wg pubkey')
assert code == 0, "Verification of WG private key failed: {}".format(''.join(stdout))
def test_transition_to_running_mode(in_good_running):
pass
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment