Django - Testing Django Applications
Which Django test class should you use when your test needs to access the database?
TestCaseTestCase is designed for tests that require database access and setup.SimpleTestCaseSimpleTestCase is used when no database interaction is needed.TestCase -> Option BTestCase [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions