Added --no-color args in test migration (#670)

This commit is contained in:
Cleiton de Lima 2024-10-01 13:19:58 -03:00 committed by GitHub
parent 07a3a83828
commit 22dcbc4d06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,6 +44,7 @@ class AuditlogMigrateJsonTest(TestCase):
def call_command(self, *args, **kwargs):
outbuf = StringIO()
errbuf = StringIO()
args = ("--no-color",) + args
call_command(
"auditlogmigratejson", *args, stdout=outbuf, stderr=errbuf, **kwargs
)