tests: Re-factor PD and connection flows in P2PS tests
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Wed, 8 Jul 2015 12:55:27 +0000 (15:55 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 6 Aug 2015 17:47:19 +0000 (20:47 +0300)
commit3c72383e03b888ad3de451ca2b6eac7b74104de3
tree72feb7ac0183ba23c9b3ea629a4711d656ec060e
parent2f0f69a9ec93e063822628578bceb947cf083918
tests: Re-factor PD and connection flows in P2PS tests

Reuse p2ps_provision() and p2ps_connect_pd() methods, and
remove the previous PD helper functions which are no longer used.

This fixes the previously "broken"
p2ps_connect_keypad_method_nonautoaccept and
p2ps_connect_display_method_nonautoaccept.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Reviewed-by: Max Stepanov <Max.Stepanov@intel.com>
Reviewed-by: Ilan Peer <ilan.peer@intel.com>
tests/hwsim/test_p2ps.py