def test_routedefault(self):
    speedify.connect()
    if (not speedifyutil.using_speedify()):
        time.sleep(3)
        self.assertTrue(speedifyutil.using_speedify())
    speedify.routedefault(False)
    self.assertFalse(speedify.show_settings()['enableDefaultRoute'])
    time.sleep(1)
    if speedifyutil.using_speedify():
        time.sleep(1)
        self.assertFalse(speedifyutil.using_speedify())
    speedify.routedefault(True)
    self.assertTrue(speedify.show_settings()['enableDefaultRoute'])
    time.sleep(2)
    if (not speedifyutil.using_speedify()):
        time.sleep(2)
        self.assertTrue(speedifyutil.using_speedify())
def test_routedefault(self):
    speedify.connect()
    if (not speedifyutil.using_speedify()):
        time.sleep(3)
        self.assertTrue(speedifyutil.using_speedify())
    speedify.routedefault(False)
    self.assertFalse(speedify.show_settings()['enableDefaultRoute'])
    time.sleep(1)
    if speedifyutil.using_speedify():
        time.sleep(1)
        self.assertFalse(speedifyutil.using_speedify())
    speedify.routedefault(True)
    self.assertTrue(speedify.show_settings()['enableDefaultRoute'])
    time.sleep(2)
    if (not speedifyutil.using_speedify()):
        time.sleep(2)
        self.assertTrue(speedifyutil.using_speedify())