Added --no-color args in test migration

This commit is contained in:
Cleiton Lima 2024-10-01 10:07:29 -03:00
parent 07a3a83828
commit 22055b2b21

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
)