# Path: periods/helpers.py
# def get_full_domain():


from django.test import TestCase
from periods import helpers



class TestGetFullDomain(TestCase):

    def test_http(self):
        result = helpers.get_full_domain()
        self.assertEqual('http://example.com', result)

    def test_https(self):
        with self.settings(SECURE_SSL_REDIRECT=True):

# Path: periods/helpers.py
# def get_full_domain():


# Path: periods/tests/test_helpers.py
from django.test import TestCase
from periods import helpers




class TestGetFullDomain(TestCase):

    def test_http(self):
        result = helpers.get_full_domain()
        self.assertEqual('http://example.com', result)

    def test_https(self):
        with self.settings(SECURE_SSL_REDIRECT=True):

            result = helpers.get_full_domain()