@@ -99,10 +99,10 @@ def test_box_bulk():
9999 ob = load_empty_test_objectbox ()
100100 box = objectbox .Box (ob , TestEntity )
101101
102- box .put (TestEntity ("first" ))
102+ box .put (TestEntity (str = "first" ))
103103
104- objects = [TestEntity ("second" ), TestEntity ("third" ),
105- TestEntity ("fourth" ), box .get (1 )]
104+ objects = [TestEntity (str = "second" ), TestEntity (str = "third" ),
105+ TestEntity (str = "fourth" ), box .get (1 )]
106106 box .put (objects )
107107 assert box .count () == 4
108108 assert objects [0 ].id == 2
@@ -185,7 +185,6 @@ def test_datetime():
185185
186186
187187def test_flex ():
188-
189188 def test_put_get (object : TestEntity , box : objectbox .Box , property ):
190189 object .flex = property
191190 id = box .put (object )
@@ -221,7 +220,7 @@ def test_put_get(object: TestEntity, box: objectbox.Box, property):
221220
222221 # Update to dict
223222 test_put_get (object , box , {"a" : 1 , "b" : 2 })
224-
223+
225224 # Update to bool
226225 test_put_get (object , box , True )
227226
@@ -252,4 +251,4 @@ def test_flex_dict():
252251 assert id == object .id
253252 read = box .get (object .id )
254253 assert read .flex_dict == object .flex_dict
255- assert read .flex_int == object .flex_int
254+ assert read .flex_int == object .flex_int
0 commit comments