Skip to content

null-none/django-asserts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-asserts

Overview

Test HTML with Context Managers

Example

from django.test import TestCase
from django_asserts import AssertHTMLMixin

class MyTest(TestCase, AssertHTMLMixin):

    def test_view(self):
        self.assertHTML(response, "#id-element"):

About

Test Django HTML with Context Managers

Topics

Resources

License

Stars

Watchers

Forks

Languages