@@ -1214,9 +1214,9 @@ def test_reaction_get(self):
12141214 reaction ["activity_id" ], "54a60c1e-4ee3-494b-a1e3-50c06acb5ed4"
12151215 )
12161216 self .assertEqual (reaction ["kind" ], "like" )
1217- self .assertIn ("created_at" , reaction )
1218- self .assertIn ("updated_at" , reaction )
1219- self .assertIn ("id" , reaction )
1217+ self .assertTrue ("created_at" in reaction )
1218+ self .assertTrue ("updated_at" in reaction )
1219+ self .assertTrue ("id" in reaction )
12201220
12211221 def test_reaction_update (self ):
12221222 response = self .c .reactions .add (
@@ -1286,9 +1286,9 @@ def test_user_get(self):
12861286 response = self .c .users .add (str (uuid1 ()))
12871287 user = self .c .users .get (response ["id" ])
12881288 self .assertEqual (user ["data" ], {})
1289- self .assertIn ("created_at" , user )
1290- self .assertIn ("updated_at" , user )
1291- self .assertIn ("id" , user )
1289+ self .assertTrue ("created_at" in user )
1290+ self .assertTrue ("updated_at" in user )
1291+ self .assertTrue ("id" in user )
12921292
12931293 def test_user_update (self ):
12941294 response = self .c .users .add (str (uuid1 ()))
@@ -1308,9 +1308,9 @@ def test_collections_get(self):
13081308 response = self .c .collections .add ("items" , {"data" : 1 }, id = str (uuid1 ()))
13091309 entry = self .c .collections .get ("items" , response ["id" ])
13101310 self .assertEqual (entry ["data" ], {"data" : 1 })
1311- self .assertIn ("created_at" , entry )
1312- self .assertIn ("updated_at" , entry )
1313- self .assertIn ("id" , entry )
1311+ self .assertTrue ("created_at" in entry )
1312+ self .assertTrue ("updated_at" in entry )
1313+ self .assertTrue ("id" in entry )
13141314
13151315 def test_collections_update (self ):
13161316 response = self .c .collections .add ("items" , {"data" : 1 }, str (uuid1 ()))
0 commit comments