From 53145d52a17b6ed5d89f061ae33a07a39d01c35e Mon Sep 17 00:00:00 2001 From: Crispen Gari Date: Sun, 11 Feb 2024 10:09:21 +0200 Subject: [PATCH] upadates-mysql-tests --- dataloom/tests/mysql/test_update_mysql.py | 5 ++--- hi.db | Bin 28672 -> 28672 bytes 2 files changed, 2 insertions(+), 3 deletions(-) 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 ad785a7ac9b321982bc930bb9ee94823c98c9568..742597e2a340471d3d7a63aa1d521268bb8738a6 100644 GIT binary patch delta 303 zcmZp8z}WDBae}nqH3kL-b|8iVu6+}Aj2W+OOxVxGG?jI-B6kwgR4yQu;2i4Xqoa_} z#5z@(U0ht8u{pCOF)1gtv^ce>xU?}JCTfc$3RLR~SKFjH)qk@Fk2WLIRNu{^ygESI zZ}JX4naT6{#F?fB0GU0E^-uxc$$9+gOj84aT&2xF`9JcrTUZ%bSQ(ma{wN=y&kf}O zU2HR1&R=qJs=tH_R7{qIje|kdnA0miBhSdd$VAt`NY~I%0jL?QUzQo4^yGv7l57x_ OlOMpDoB#VWDgXenw^E4! delta 303 zcmZp8z}WDBae}m<4+8@OI}k$wSI$HoV@98i3H!O2rWj3DQAi;IghHfNS3Cgr4-7N-^!mp10ZL~W5ofohB3YMV5t)NIz^(Pm_tQnfjhR|iN} zPu{^NGkHFrIMb9`AhU;22P(ijIgdY`X-XZCtF-wi|3`jyb1PE|D--k0ALRq|xgi`g zpo?uL%lS)APW6{?fr`npuyHVm8gqK(XXF_f7@6oA80i`sDj2||nej