Save 1 space in tests
This commit is contained in:
parent
198e4e0032
commit
cda9bd1c47
@ -150,7 +150,7 @@ def test_add_index():
|
|||||||
assert index == 'CREATE INDEX "idx_category_name_8b0cb9" ON "category" ("name")'
|
assert index == 'CREATE INDEX "idx_category_name_8b0cb9" ON "category" ("name")'
|
||||||
assert (
|
assert (
|
||||||
index_u
|
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:
|
else:
|
||||||
assert index == 'ALTER TABLE "category" ADD INDEX "idx_category_name_8b0cb9" ("name")'
|
assert index == 'ALTER TABLE "category" ADD INDEX "idx_category_name_8b0cb9" ("name")'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user