# Path: quotes/tests/utils.py
# def create_test_tag():
#     name = 'Tag'
#     tag = Tag.objects.create(name=name)
#     now = datetime.now()
#     for i in xrange(10):
#         body = 'Test quote %d' % i
#         quote = Quote.objects.create(body=body, publish_date=now)
#         quote.tags.add(tag)
#     return tag


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




class SubmitQuotePageTestCase(TestCase):

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

# Path: quotes/tests/utils.py
# def create_test_tag():
#     name = 'Tag'
#     tag = Tag.objects.create(name=name)
#     now = datetime.now()
#     for i in xrange(10):
#         body = 'Test quote %d' % i
#         quote = Quote.objects.create(body=body, publish_date=now)
#         quote.tags.add(tag)
#     return tag


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

# coding: utf-8




class SubmitQuotePageTestCase(TestCase):

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

        self.tag = create_test_tag()