fix test run

This commit is contained in:
Robert Lechte 2019-03-03 15:09:01 +11:00
parent 7643e95d7e
commit 488b68a108
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,7 @@ homepage = "https://migra.djrobstep.com/"
[tool.poetry.dependencies]
python = "*"
sqlbag = "0.1.1541129705"
sqlbag = "*"
six = "*"
schemainspect = ">= 0.1.1548143332"
psycopg2-binary = { version="*", optional = true }

View File

@ -175,7 +175,8 @@ def do_fixture_test(
assert not m.statements # no further statements to apply
assert m.sql == ""
out, err = outs()
assert run(args, out=out, err=err) == 0
assert run(args, out=out, err=err) == 0
# test alternative parameters
with S(d0) as s0, S(d1) as s1:
m = Migration(get_inspector(s0), get_inspector(s1))