mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-26 02:19:26 +01:00
auto-t: remove /var/lib/iwd references in testKnownNetworks
This commit is contained in:
parent
16698d0c9a
commit
957a8aac25
@ -67,7 +67,7 @@ class Test(unittest.TestCase):
|
||||
hs20_freqs = None
|
||||
hs20_uuid = None
|
||||
config = ConfigParser()
|
||||
config.read('/var/lib/iwd/.known_network.freq')
|
||||
config.read('/tmp/iwd/.known_network.freq')
|
||||
for s in config.sections():
|
||||
if os.path.basename(config[s]['name']) == 'ssidCCMP.psk':
|
||||
psk_freqs = config[s]['list']
|
||||
@ -116,7 +116,7 @@ class Test(unittest.TestCase):
|
||||
psk_uuid2 = None
|
||||
hs20_freqs = None
|
||||
config = ConfigParser()
|
||||
config.read('/var/lib/iwd/.known_network.freq')
|
||||
config.read('/tmp/iwd/.known_network.freq')
|
||||
for s in config.sections():
|
||||
self.assertNotEqual(os.path.basename(config[s]['name']),
|
||||
'example.conf')
|
||||
|
Loading…
Reference in New Issue
Block a user