Browse Source

Corrige expectativa ao verificar diffs

migracao
Marcio Mazza 6 years ago
parent
commit
e6e1475929
  1. 2
      sapl/legacy/scripts/verifica_diff.py

2
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

Loading…
Cancel
Save