# Path: quotes/tests/utils.py
# def create_test_quote():
#     body = 'Test quote'
#     now = datetime.now()
#     quote = Quote.objects.create(body=body, publish_date=now)
#     quote.authors.create(name='Author 1')
#     quote.authors.create(name='Author 2')
#     quote.tags.create(name='Tag 1')
#     quote.tags.create(name='Tag 2')
#     return quote


from lxml import html
from django.test import TestCase
from django.test.client import Client
from quotes.tests.utils import create_test_quote
# coding: utf-8




class HomePageTestCase(TestCase):

    def setUp(self):
        self.client = Client()

# Path: quotes/tests/utils.py
# def create_test_quote():
#     body = 'Test quote'
#     now = datetime.now()
#     quote = Quote.objects.create(body=body, publish_date=now)
#     quote.authors.create(name='Author 1')
#     quote.authors.create(name='Author 2')
#     quote.tags.create(name='Tag 1')
#     quote.tags.create(name='Tag 2')
#     return quote


# Path: quotes/tests/requests/test_home_page.py
from lxml import html
from django.test import TestCase
from django.test.client import Client
from quotes.tests.utils import create_test_quote

# coding: utf-8




class HomePageTestCase(TestCase):

    def setUp(self):
        self.client = Client()

        self.quote = create_test_quote()