Skip to content

Commit 7794a20

Browse files
committed
add no color to backup tests
1 parent f04ae7f commit 7794a20

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

django_typer/tests/test_backup_example.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def tearDown(self) -> None:
2525
def test_base_backup(self):
2626
lines = (
2727
run_command(
28-
"backup", "--settings", "django_typer.tests.settings.backup", "list"
28+
"backup", "--no-color", "--settings", "django_typer.tests.settings.backup", "list"
2929
)[0]
3030
.strip()
3131
.splitlines()[1:]
@@ -56,6 +56,7 @@ def test_inherit_backup(self):
5656
line.strip()
5757
for line in run_command(
5858
"backup",
59+
"--no-color",
5960
"--settings",
6061
"django_typer.tests.settings.backup_inherit",
6162
"list",
@@ -89,7 +90,7 @@ def test_extend_backup(self):
8990
lines = [
9091
line.strip()
9192
for line in run_command(
92-
"backup", "--settings", "django_typer.tests.settings.backup_ext", "list"
93+
"backup", "--no-color", "--settings", "django_typer.tests.settings.backup_ext", "list"
9394
)[0]
9495
.strip()
9596
.splitlines()[1:]

0 commit comments

Comments
 (0)