diff options
Diffstat (limited to 'tests/admin_scripts/tests.py')
| -rw-r--r-- | tests/admin_scripts/tests.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py index 97d2d7cf7e..3718354dc7 100644 --- a/tests/admin_scripts/tests.py +++ b/tests/admin_scripts/tests.py @@ -75,7 +75,6 @@ class AdminScriptTestCase(SimpleTestCase): settings_file.write("%s\n" % extra) exports = [ "DATABASES", - "DEFAULT_AUTO_FIELD", "ROOT_URLCONF", "SECRET_KEY", "USE_TZ", @@ -3127,11 +3126,6 @@ class StartApp(AdminScriptTestCase): with open(os.path.join(app_path, "apps.py")) as f: content = f.read() self.assertIn("class NewAppConfig(AppConfig)", content) - if HAS_BLACK: - test_str = 'default_auto_field = "django.db.models.BigAutoField"' - else: - test_str = "default_auto_field = 'django.db.models.BigAutoField'" - self.assertIn(test_str, content) self.assertIn( 'name = "new_app"' if HAS_BLACK else "name = 'new_app'", content, |
