mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
auto-t: skip testEAP-PEAP-SIM if ofonod is not running
This commit is contained in:
parent
dbd8842d51
commit
f721f1de1e
@ -10,6 +10,7 @@ from iwd import IWD
|
|||||||
from iwd import NetworkType
|
from iwd import NetworkType
|
||||||
from hlrauc import AuthCenter
|
from hlrauc import AuthCenter
|
||||||
from ofono import Ofono
|
from ofono import Ofono
|
||||||
|
from config import ctx
|
||||||
|
|
||||||
class Test(unittest.TestCase):
|
class Test(unittest.TestCase):
|
||||||
def validate_connection(self, wd):
|
def validate_connection(self, wd):
|
||||||
@ -46,6 +47,9 @@ class Test(unittest.TestCase):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
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')
|
cls.auth = AuthCenter('/tmp/hlrauc.sock', '/tmp/sim.db')
|
||||||
|
|
||||||
IWD.copy_to_storage('ssidEAP-PEAP-SIM.8021x')
|
IWD.copy_to_storage('ssidEAP-PEAP-SIM.8021x')
|
||||||
|
Loading…
Reference in New Issue
Block a user