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 Ilya
parent f607d547ec
commit c6b95537fa

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
)