def test_transport(self):
    mysettings = speedify.transport('https')
    serverinfo = speedify.connect()
    mysettings = speedify.show_settings()
    self.assertEqual(mysettings['transportMode'], 'https')
    mysettings = speedify.transport('tcp')
    self.assertEqual(mysettings['transportMode'], 'tcp')
    serverinfo = speedify.connect()
    mysettings = speedify.show_settings()
    self.assertEqual(mysettings['transportMode'], 'tcp')
def test_transport(self):
    mysettings = speedify.transport('https')
    serverinfo = speedify.connect()
    mysettings = speedify.show_settings()
    self.assertEqual(mysettings['transportMode'], 'https')
    mysettings = speedify.transport('tcp')
    self.assertEqual(mysettings['transportMode'], 'tcp')
    serverinfo = speedify.connect()
    mysettings = speedify.show_settings()
    self.assertEqual(mysettings['transportMode'], 'tcp')