Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sweep: Write tests to check that commits of a different date than the date passed in get ignored (✓ Sandbox Passed) #29

Closed

Conversation

jdriscoll98
Copy link
Owner

Description

This pull request includes changes to the test_example.py file to add a new test case for the extract_git_data function.

Summary

  • Added a new test case test_extract_git_data_ignores_different_dates to test_example.py
  • The new test case uses mock data to check that commits of a different date than the date passed in get ignored
  • The test case asserts that only commits with the same date are included in the extracted git data
  • The test case also ensures that commits with a different date are not included in the extracted git data
  • This pull request aims to improve the test coverage for the extract_git_data function

Fixes #28.


🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To get Sweep to edit this pull request, you can:

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

@jdriscoll98
Copy link
Owner Author

Rollback Files For Sweep

  • Rollback changes to tests/test_example.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sweep: Write tests to check that commits of a different date than the date passed in get ignored
1 participant