# Path: nosedjangotests/polls/models.py
# class Poll(models.Model):
#     question = models.CharField(max_length=200)
#     pub_date = models.DateTimeField('date published')
# 
#     @atomic
#     def reset(self):
#         self.question = ""
#         self.save()
# 
# class Choice(models.Model):
#     content_type = models.ForeignKey('contenttypes.ContentType')
#     object_id = models.PositiveIntegerField()
#     poll = GenericForeignKey('content_type', 'object_id')
# 
#     choice = models.CharField(max_length=200)
#     votes = models.IntegerField(default=0)
# 
#     @atomic
#     def reset(self):
#         self.votes = 0
#         self.save()


import datetime
from unittest import TestCase as UnitTestCase
from nose.plugins.skip import SkipTest
from django.contrib.auth.models import Permission
from django.contrib.contenttypes.models import ContentType
from django.test import TestCase
from nosedjangotests.polls.models import Poll, Choice

    def test_using_content_types_1(self):
        _test_using_content_types(self)

    def test_get_contenttypes_1(self):
        _test_get_contenttypes(self)

    def test_permissions_1(self):
        _test_permissions(self)

    def test_using_content_types_2(self):
        _test_using_content_types(self)

    def test_get_contenttypes_2(self):
        _test_get_contenttypes(self)

    def test_permissions_2(self):
        _test_permissions(self)

    def test_fixtures_1(self):
        _test_fixtures_1(self)

    def test_fixtures_2(self):
        _test_fixtures_1(self)


class NoTransactionUnitTestCase2(NoTransactionUnitTestCase):
    fixtures = ['polls2.json']

    def test_fixtures_1(self):

# Path: nosedjangotests/polls/models.py
# class Poll(models.Model):
#     question = models.CharField(max_length=200)
#     pub_date = models.DateTimeField('date published')
# 
#     @atomic
#     def reset(self):
#         self.question = ""
#         self.save()
# 
# class Choice(models.Model):
#     content_type = models.ForeignKey('contenttypes.ContentType')
#     object_id = models.PositiveIntegerField()
#     poll = GenericForeignKey('content_type', 'object_id')
# 
#     choice = models.CharField(max_length=200)
#     votes = models.IntegerField(default=0)
# 
#     @atomic
#     def reset(self):
#         self.votes = 0
#         self.save()


# Path: nosedjangotests/polls/tests/test1.py
import datetime
from unittest import TestCase as UnitTestCase
from nose.plugins.skip import SkipTest
from django.contrib.auth.models import Permission
from django.contrib.contenttypes.models import ContentType
from django.test import TestCase
from nosedjangotests.polls.models import Poll, Choice


    def test_using_content_types_1(self):
        _test_using_content_types(self)

    def test_get_contenttypes_1(self):
        _test_get_contenttypes(self)

    def test_permissions_1(self):
        _test_permissions(self)

    def test_using_content_types_2(self):
        _test_using_content_types(self)

    def test_get_contenttypes_2(self):
        _test_get_contenttypes(self)

    def test_permissions_2(self):
        _test_permissions(self)

    def test_fixtures_1(self):
        _test_fixtures_1(self)

    def test_fixtures_2(self):
        _test_fixtures_1(self)


class NoTransactionUnitTestCase2(NoTransactionUnitTestCase):
    fixtures = ['polls2.json']

    def test_fixtures_1(self):

        _test_fixtures_2(self)