• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tjcsl / tin / 12667586419
59%

Build:
DEFAULT BRANCH: master
Ran 08 Jan 2025 09:20AM UTC
Jobs 1
Files 52
Run time 5min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jan 2025 09:19AM UTC coverage: 54.777% (-0.01%) from 54.79%
12667586419

push

github

krishnans2006
Hotfix: Fix invalid query when killing submissions

This fixes the below production error:
```
  File ".../tin/tin/apps/submissions/views.py", line 106, in kill_view
    submission = get_object_or_404(submissions_editable, id=submission_id)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../site-packages/django/shortcuts.py", line 85, in get_object_or_404
    return queryset.get(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../site-packages/django/db/models/query.py", line 640, in get
    raise self.model.MultipleObjectsReturned(
tin.apps.submissions.models.Submission.MultipleObjectsReturned: get() returned more than one Submission -- it returned 5!
```

One solution would have been to append a `.distinct()` to the query, but instead it was replaced by `filter_visible()` for consistency.

398 of 885 branches covered (44.97%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

1494 of 2569 relevant lines covered (58.15%)

0.58 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Pyenv Unit Tests - 12667586419.1 08 Jan 2025 09:22AM UTC 52
54.78
Source Files on build 12667586419
  • Tree
  • List 52
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 548eac69 on github
  • Prev Build on master (#12663289725)
  • Next Build on master (#12667876284)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc