Instead of len > 0 you can use `self.assertTrue(self.testvars.get('wifi'), 'No wifi setting in testvars.')`, but why is wifi required? This should work on desktop client with local area connection or over a data connection.