Skip to content

Commit 0f74be9

Browse files
committed
Fix linter
1 parent 27b1263 commit 0f74be9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_cli.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
from django.conf import settings
77
from django.core.management import CommandError
88
from django.core.management import call_command
9-
from django.test import TransactionTestCase, override_settings
9+
from django.test import TransactionTestCase
10+
from django.test import override_settings
1011
from django.utils import timezone
1112
from django.utils.encoding import smart_str
1213

@@ -51,12 +52,12 @@ def test_list(self):
5152
)
5253

5354
def test_get(self):
54-
call_command("constance", *("get EMAIL_VALUE".split()), stdout=self.out)
55+
call_command("constance", *(["get", "EMAIL_VALUE"]), stdout=self.out)
5556

5657
self.assertEqual(self.out.getvalue().strip(), "[email protected]")
5758

5859
def test_set(self):
59-
call_command("constance", *("set EMAIL_VALUE [email protected]".split()), stdout=self.out)
60+
call_command("constance", *(["set", "EMAIL_VALUE", "[email protected]"]), stdout=self.out)
6061

6162
self.assertEqual(config.EMAIL_VALUE, "[email protected]")
6263

0 commit comments

Comments
 (0)