Save 1 space in tests

This commit is contained in:
Adam Ciarciński 2020-08-06 17:50:28 +02:00
parent 198e4e0032
commit cda9bd1c47

View File

@ -150,7 +150,7 @@ def test_add_index():
assert index == 'CREATE INDEX "idx_category_name_8b0cb9" ON "category" ("name")'
assert (
index_u
== 'ALTER TABLE "category" ADD CONSTRAINT "uid_category_name_8b0cb9" UNIQUE ("name")'
== 'ALTER TABLE "category" ADD CONSTRAINT "uid_category_name_8b0cb9" UNIQUE ("name")'
)
else:
assert index == 'ALTER TABLE "category" ADD INDEX "idx_category_name_8b0cb9" ("name")'