'Test if the correct protocol is returned'

def test_get_protocol(self):

    self.assertEqual(get_protocol(), 'http')
    with self.settings(USERENA_USE_HTTPS=True):
        self.assertEqual(get_protocol(), 'https')
