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

DemocracyClub / EveryElection / f1338858-c0fa-44cb-ba00-f6491924f61b

19 Aug 2025 09:05AM UTC coverage: 72.061% (+0.3%) from 71.724%
f1338858-c0fa-44cb-ba00-f6491924f61b

Pull #2498

circleci

awdem
add tippecanoe to CI
Pull Request #2498: Feat/divset pmtiles

98 of 110 new or added lines in 6 files covered. (89.09%)

11 existing lines in 1 file now uncovered.

3598 of 4993 relevant lines covered (72.06%)

0.72 hits per line

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

0.0
/every_election/apps/organisations/management/commands/create_pmtiles_for_all_divsets.py
NEW
1
from django.core.management import call_command
×
NEW
2
from django.core.management.base import BaseCommand
×
NEW
3
from organisations.models import OrganisationDivisionSet
×
4

5

NEW
6
class Command(BaseCommand):
×
NEW
7
    help = "Run create_pmtile_for_divset for every DivisionSet."
×
8

NEW
9
    def handle(self, *args, **options):
×
NEW
10
        for divset in OrganisationDivisionSet.objects.all():
×
NEW
11
            self.stdout.write(f"Processing DivisionSet: {divset.id}")
×
NEW
12
            call_command("create_pmtiles_for_divset", divset.id)
×
NEW
13
        self.stdout.write(self.style.SUCCESS("All DivisionSets processed."))
×
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