tests Package

models Module

class kawaz.core.personas.tests.models.PersonaTestArticle(id, pub_state, title, author)[ソース]

ベースクラス: django.db.models.base.Model

exception DoesNotExist

ベースクラス: django.core.exceptions.ObjectDoesNotExist

exception PersonaTestArticle.MultipleObjectsReturned

ベースクラス: django.core.exceptions.MultipleObjectsReturned

PersonaTestArticle.author

Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.

In the example:

class Child(Model):
    parent = ForeignKey(Parent, related_name='children')

child.parent is a ForwardManyToOneDescriptor instance.

PersonaTestArticle.author_id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

PersonaTestArticle.get_pub_state_display(*moreargs, **morekwargs)
PersonaTestArticle.id

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

PersonaTestArticle.objects = <django.db.models.manager.Manager object>
PersonaTestArticle.pub_state

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

PersonaTestArticle.title

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

test_activity Module

test_mails Module

class kawaz.core.personas.tests.test_mails.PersonaPasswordResetMailTemplateTestCase(methodName='runTest')[ソース]

ベースクラス: django.test.testcases.TestCase

test_email_parse()[ソース]

registration/password_reset_email.htmlを正しくparseできる

test_email_subject_parse()[ソース]

registration/password_reset_email_subject.txtを正しくparseできる

test_templatetags Module

utils Module