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

DemocracyClub / WhoCanIVoteFor / 40ea04e0-7d4f-4b49-bd38-a7f6ee633f87

pending completion
40ea04e0-7d4f-4b49-bd38-a7f6ee633f87

Pull #1487

circleci

Sym Roe
Bump AMI
Pull Request #1487: Use EE base AMI

11 of 11 new or added lines in 2 files covered. (100.0%)

2179 of 3777 relevant lines covered (57.69%)

0.58 hits per line

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

0.0
/wcivf/apps/core/management/commands/truncate_replicated_tables.py
1
from django.core.management.base import BaseCommand
×
2

3

4
from django.db import connection
×
5

6
from elections.models import VotingSystem
×
7

8

9
class Command(BaseCommand):
×
10
    def handle(self, **options):
×
11
        with connection.cursor() as cursor:
×
12
            cursor.execute(
×
13
                """
14
                BEGIN;
15
                TRUNCATE "auth_permission", "auth_group_permissions", "auth_user_user_permissions", "django_admin_log", "django_content_type", "django_site", "django_migrations", "spatial_ref_sys" RESTART IDENTITY;
16
                COMMIT;
17
                """
18
            )
19
        VotingSystem.objects.all().delete()
×
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