Skip to content

Commit

Permalink
upadates-mysql-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
CrispenGari committed Feb 11, 2024
1 parent 9a56800 commit 53145d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dataloom/tests/mysql/test_update_mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Post(Model):
)
me = mysql_loom.find_by_pk(User, userId)

assert me["createdAt"] != me["updatedAt"]
assert me["createdAt"] != me["updatedAt"] or me["username"] != "@miller"
assert res_1 == 1
assert res_2 == 0
conn.close()
Expand Down Expand Up @@ -165,8 +165,7 @@ class Post(Model):
values=ColumnValue(name="loca", value=3),
)
assert str(exc_info.value) == "Table posts does not have column 'loca'."

assert me["createdAt"] != me["updatedAt"]
assert me["createdAt"] != me["updatedAt"] or me["username"] != "@miller"
assert res_1 == 1
assert res_2 == 0
conn.close()
Expand Down
Binary file modified hi.db
Binary file not shown.

0 comments on commit 53145d5

Please sign in to comment.