harperreed / micropub-service

MIT License
3 stars 0 forks source link

sweep: can you fix the TestCreatePost tests? #26

Open harperreed opened 5 days ago

harperreed commented 5 days ago

Improve TestCreatePost in internal/git/operations_test.go

Description:

Enhance the TestCreatePost function in the internal/git/operations_test.go file to provide more robust and comprehensive testing for the CreatePost operation.

Tasks:

Test:

Additional Tasks:

sweep-ai[bot] commented 5 days ago

❌ Error

Traceback (most recent call last):
  File "/app/sweepai/handlers/on_ticket.py", line 167, in on_ticket
    await fix_ci_failures(pull_request, tracking_id)
  File "/app/sweepai/handlers/fix_ci.py", line 266, in fix_ci_failures
    new_pull_request_number = results["pull_request"].get("number")
AttributeError: 'NoneType' object has no attribute 'get'

'NoneType' object has no attribute 'get'

Sweep has encountered a runtime error unrelated to your request. Please let us know via this link or at support@sweep.dev directly.

:book: For more information on how to use Sweep, please read our documentation.

Tracking ID: a97f5ce3fc