Skip to content

Commit e47f73b

Browse files
committed
try fix shell tests
1 parent 657987d commit e47f73b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/shellcompletion/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,7 @@ def test_prompt_install(self, env={}, directory: t.Optional[Path] = None):
498498
env = {
499499
**dict(os.environ),
500500
"DJANGO_SETTINGS_MODULE": "tests.settings.completion",
501+
"DJANGO_COLORS": "nocolor",
501502
**env,
502503
}
503504

@@ -561,6 +562,7 @@ def test_prompt_install(self, env={}, directory: t.Optional[Path] = None):
561562
env = {
562563
**dict(os.environ),
563564
"DJANGO_SETTINGS_MODULE": "tests.settings.completion",
565+
"DJANGO_COLORS": "nocolor",
564566
**env,
565567
}
566568

0 commit comments

Comments
 (0)