LO-101: Add integration tests for campaign steps execution#466
LO-101: Add integration tests for campaign steps execution#466GAYATHRI-R217 wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughAdds Campaign Step Progression Test
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Hi @GAYATHRI-R217 👋 LeadOrbit Bot here 🤖 We noticed you've opened a Pull Request but haven't starred the repository yet. ⭐ Starring the repository is mandatory for PR review and merge. Please:
Once you've done that, the bot will continue processing your PR. Note: PRs from contributors who haven't starred the repository will remain pending until this requirement is completed. Thanks for contributing to LeadOrbit! 🚀 |
|
Done. |
Pull Request
🔗 Related Issue
Closes #447
📝 Summary of Changes
This PR adds integration test coverage for the campaign sequence execution workflow.
The new test verifies that a lead progresses through a multi-step campaign sequence (Email → Wait → LinkedIn) as the scheduler runs over time. Time progression is simulated using
freezegunto ensure the test remains deterministic and reliable.Changes Made
freezegun.freezegunas a dependency required for the new integration test.🏷️ Type of Change
🧪 Testing
The changes were tested locally.
Steps to test:
pip install -r requirements.txt.python manage.py test campaigns.tests.python manage.py test.📸 Screenshots (if applicable)
Not applicable.
✅ Checklist
Summary by CodeRabbit