3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-26 09:32:34 +01:00

auto-t: skip testEAP-PEAP-SIM if ofonod is not running

This commit is contained in:
James Prestwood 2021-08-13 14:49:26 -07:00 committed by Denis Kenzior
parent dbd8842d51
commit f721f1de1e

View File

@ -10,6 +10,7 @@ from iwd import IWD
from iwd import NetworkType
from hlrauc import AuthCenter
from ofono import Ofono
from config import ctx
class Test(unittest.TestCase):
def validate_connection(self, wd):
@ -46,6 +47,9 @@ class Test(unittest.TestCase):
@classmethod
def setUpClass(cls):
if not ctx.is_process_running('ofonod'):
cls.skipTest(cls, "ofono not running")
cls.auth = AuthCenter('/tmp/hlrauc.sock', '/tmp/sim.db')
IWD.copy_to_storage('ssidEAP-PEAP-SIM.8021x')