Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/components/api/test_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ def test_projects_crud() -> None:
project_client.delete(created_project.projectId)

# Test the project is really deleted
projects = project_client.get_all(None)
# The API soft deletes projects (moves them to "Recycle Bin/..."), so exclude those
projects = [p for p in project_client.get_all(None) if not p.name.startswith("Recycle Bin/")]
assert not any([p.projectId == created_project.projectId for p in projects])


Expand Down
Loading