Skip to content

Commit

Permalink
solving pytests
Browse files Browse the repository at this point in the history
  • Loading branch information
XuhuiZhou committed Dec 12, 2024
1 parent cadf06d commit 187a21b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/ui/test_fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ def _create_mock_relationship() -> None:
relationship=1.0,
).save()

_create_mock_agent_profile()
_create_mock_env_profile()
_create_mock_relationship()
if not for_posting:
_create_mock_agent_profile()
_create_mock_env_profile()
_create_mock_relationship()
yield

try:
Expand Down

0 comments on commit 187a21b

Please sign in to comment.