__init__.py 834 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. """Django Unit Test framework."""
  2. from django.test.client import AsyncClient, AsyncRequestFactory, Client, RequestFactory
  3. from django.test.testcases import (
  4. LiveServerTestCase,
  5. SimpleTestCase,
  6. TestCase,
  7. TransactionTestCase,
  8. skipIfDBFeature,
  9. skipUnlessAnyDBFeature,
  10. skipUnlessDBFeature,
  11. )
  12. from django.test.utils import (
  13. ignore_warnings,
  14. modify_settings,
  15. override_settings,
  16. override_system_checks,
  17. tag,
  18. )
  19. __all__ = [
  20. "AsyncClient",
  21. "AsyncRequestFactory",
  22. "Client",
  23. "RequestFactory",
  24. "TestCase",
  25. "TransactionTestCase",
  26. "SimpleTestCase",
  27. "LiveServerTestCase",
  28. "skipIfDBFeature",
  29. "skipUnlessAnyDBFeature",
  30. "skipUnlessDBFeature",
  31. "ignore_warnings",
  32. "modify_settings",
  33. "override_settings",
  34. "override_system_checks",
  35. "tag",
  36. ]