From e6e14759291a333c1ca4e82f78009d3260ae6b99 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 23 May 2019 04:49:27 -0300 Subject: [PATCH] Corrige expectativa ao verificar diffs --- sapl/legacy/scripts/verifica_diff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/legacy/scripts/verifica_diff.py b/sapl/legacy/scripts/verifica_diff.py index 72e2a802e..86769f0f4 100644 --- a/sapl/legacy/scripts/verifica_diff.py +++ b/sapl/legacy/scripts/verifica_diff.py @@ -22,7 +22,7 @@ def verifica_diff(sigla): f"{diff_cmd} | grep -v 'Files producao/sequences.yaml and dados/sequences.yaml differ' | tee ~/migracao_sapl/diffs/{sigla}.diff" ).stdout.splitlines() # noqa - assert all(o.startswith("Only in dados") for o in out) + assert not any(o.startswith("Only in producao") for o in out) verifica_sequences(sigla) return out