diff --git a/dataloom/tests/mysql/test_update_mysql.py b/dataloom/tests/mysql/test_update_mysql.py index 9f9c664..6f56adf 100644 --- a/dataloom/tests/mysql/test_update_mysql.py +++ b/dataloom/tests/mysql/test_update_mysql.py @@ -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() @@ -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() diff --git a/hi.db b/hi.db index ad785a7..742597e 100644 Binary files a/hi.db and b/hi.db differ