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

liqd / adhocracy-plus / 18908688697

29 Oct 2025 12:59PM UTC coverage: 44.622% (-44.5%) from 89.135%
18908688697

Pull #2986

github

web-flow
Merge 1dfde8ee7 into 445e1d498
Pull Request #2986: Draft: Speed up Github Ci Tests

3012 of 6750 relevant lines covered (44.62%)

0.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/apps/contrib/sitemaps.py
1
from django.contrib.sitemaps.views import x_robots_tag
×
2
from django.template.response import TemplateResponse
×
3
from django.urls import reverse
×
4

5

6
@x_robots_tag
×
7
def static_sitemap_index(request):
×
8

9
    content_type = "application/xml"
×
10
    template_name = "sitemap_index.xml"
×
11

12
    urls = []
×
13
    sitemaps = ["wagtail-sitemap", "organisations-sitemap-index"]
×
14

15
    for sitemap in sitemaps:
×
16
        urls.append(request.build_absolute_uri(reverse(sitemap)))
×
17

18
    return TemplateResponse(
×
19
        request, template_name, {"sitemaps": urls}, content_type=content_type
20
    )
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

© 2025 Coveralls, Inc