Skip to content

Commit fb79fc5

Browse files
committed
fix test
1 parent 221480c commit fb79fc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_async_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def test_async_modelgen_01(self):
4141
)
4242

4343
self.assertIn(
44-
"ComputedLinkSet[models.default.UserGroup]",
44+
"ComputedLinkSet[models.orm.default.UserGroup]",
4545
reveal_type(alice.groups),
4646
)
4747

tests/test_model_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3622,7 +3622,7 @@ def test_modelgen_save_46(self):
36223622
# Test that sync() updates all objects with the same .id to have
36233623
# the same data in them.
36243624

3625-
from models import default
3625+
from models.orm import default
36263626

36273627
elsa1 = self.client.get(
36283628
default.User.select(name=True).filter(lambda u: u.name == "Elsa"),

0 commit comments

Comments
 (0)