Download testbed/django__django/tests/admin_docs/tests.py from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 687 Bytes
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/django__django/tests/admin_docs/tests.py
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/django__django/tests/admin_docs/tests.py
-
curl -L -o tests.py https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/django__django/tests/admin_docs/tests.py
687 Bytes
| from django.contrib.auth.models import User | |
| from django.test import SimpleTestCase, TestCase, modify_settings, override_settings | |
| class TestDataMixin: | |
| def setUpTestData(cls): | |
| cls.superuser = User.objects.create_superuser( | |
| username="super", password="secret", email="super@example.com" | |
| ) | |
| class AdminDocsSimpleTestCase(SimpleTestCase): | |
| pass | |
| class AdminDocsTestCase(TestCase): | |
| pass | |