Skip to content

Conversation

@lexicalunit
Copy link
Owner

No description provided.

assert self.channel

# build the game post's embed and view:
emojis = await self.bot.fetch_application_emojis()
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move this to operations.py and make a safe_ version.

mock_games=mock_games,
create_connection=create_connection,
)
bot.fetch_application_emojis = AsyncMock(return_value=[])
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't need this change after moving method to operations.py.

@codecov
Copy link

codecov bot commented Nov 11, 2025

Codecov Report

❌ Patch coverage is 75.00000% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.66%. Comparing base (40750ed) to head (7017c89).
⚠️ Report is 20 commits behind head on main.

Files with missing lines Patch % Lines
src/spellbot/models/game.py 66.66% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2094      +/-   ##
==========================================
- Coverage   96.69%   96.66%   -0.04%     
==========================================
  Files         188      188              
  Lines        9965     9977      +12     
  Branches      415      417       +2     
==========================================
+ Hits         9636     9644       +8     
- Misses        280      282       +2     
- Partials       49       51       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants