Slide 16
Slide 16 text
Тестирование
• with TestCase.settings(**kwargs)
• и @TestCase.override_settings(**kwargs)
• SimpleTestCase
• assertRaisesMessage(expected_exception,
expected_message, callable_obj=None, *args, **kwargs)
• assertFieldOutput(self, fieldclass, valid, invalid,
field_args=None, field_kwargs=None,empty_value=u'')
• assertHTMLEqual(html1, html2, msg=None)