An open API service indexing awesome lists of open source software.

https://github.com/null-none/django-asserts

Test Django HTML with Context Managers
https://github.com/null-none/django-asserts

django html python tests unittest

Last synced: 26 days ago
JSON representation

Test Django HTML with Context Managers

Awesome Lists containing this project

README

          

# django-asserts

## Overview
Test HTML with Context Managers

### Example

```python

from django.test import TestCase
from django_asserts import AssertHTMLMixin

class MyTest(TestCase, AssertHTMLMixin):

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