|
9 | 9 |
|
10 | 10 |
|
11 | 11 | def test_basics(): |
12 | | - ob = create_test_objectbox() |
| 12 | + ob = create_test_store() |
13 | 13 |
|
14 | 14 | box_test_entity = objectbox.Box(ob, TestEntity) |
15 | 15 | box_test_entity.put(TestEntity(str="foo", int64=123)) |
@@ -108,7 +108,7 @@ def test_basics(): |
108 | 108 |
|
109 | 109 |
|
110 | 110 | def test_flex_contains_key_value(): |
111 | | - ob = create_test_objectbox() |
| 111 | + ob = create_test_store() |
112 | 112 |
|
113 | 113 | box = objectbox.Box(ob, TestEntityFlex) |
114 | 114 | box.put(TestEntityFlex(flex={"k1": "String", "k2": 2, "k3": "string"})) |
@@ -156,7 +156,7 @@ def test_flex_contains_key_value(): |
156 | 156 |
|
157 | 157 |
|
158 | 158 | def test_offset_limit(): |
159 | | - ob = load_empty_test_objectbox() |
| 159 | + ob = load_empty_test_default_store() |
160 | 160 |
|
161 | 161 | box = objectbox.Box(ob, TestEntity) |
162 | 162 | box.put(TestEntity()) |
@@ -185,7 +185,7 @@ def test_offset_limit(): |
185 | 185 |
|
186 | 186 |
|
187 | 187 | def test_any_all(): |
188 | | - db = create_test_objectbox() |
| 188 | + db = create_test_store() |
189 | 189 |
|
190 | 190 | box = objectbox.Box(db, TestEntity) |
191 | 191 |
|
@@ -247,7 +247,7 @@ def test_any_all(): |
247 | 247 |
|
248 | 248 |
|
249 | 249 | def test_set_parameter(): |
250 | | - db = create_test_objectbox() |
| 250 | + db = create_test_store() |
251 | 251 |
|
252 | 252 | box_test_entity = objectbox.Box(db, TestEntity) |
253 | 253 | box_test_entity.put(TestEntity(str="Foo", int64=2, int32=703, int8=101)) |
@@ -300,7 +300,7 @@ def test_set_parameter(): |
300 | 300 |
|
301 | 301 |
|
302 | 302 | def test_set_parameter_alias(): |
303 | | - db = create_test_objectbox() |
| 303 | + db = create_test_store() |
304 | 304 | box = objectbox.Box(db, TestEntity) |
305 | 305 |
|
306 | 306 | box.put(TestEntity(str="Foo", int64=2, int32=703, int8=101)) |
@@ -375,7 +375,7 @@ def test_set_parameter_alias(): |
375 | 375 |
|
376 | 376 | def test_set_parameter_alias_advanced(): |
377 | 377 | """ Tests set_parameter_alias in a complex scenario (i.e. multiple query conditions/logical aggregations). """ |
378 | | - db = create_test_objectbox() |
| 378 | + db = create_test_store() |
379 | 379 |
|
380 | 380 | # Setup 1 |
381 | 381 | box = objectbox.Box(db, TestEntity) |
|
0 commit comments