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

DemocracyClub / WhoCanIVoteFor / 7e27342f-251b-4311-94d4-a011b5b80e91

23 Apr 2024 02:54PM UTC coverage: 59.521%. Remained the same
7e27342f-251b-4311-94d4-a011b5b80e91

Pull #1830

circleci

VirginiaDooley
Add missing internationalization tag
Pull Request #1830: Add missing internationalization tag

2435 of 4091 relevant lines covered (59.52%)

0.6 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
from django.db import connection
×
3
from elections.models import VotingSystem
×
4

5

6
class Command(BaseCommand):
×
7
    def handle(self, **options):
×
8
        with connection.cursor() as cursor:
×
9
            cursor.execute(
×
10
                """
11
                BEGIN;
12
                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;
13
                COMMIT;
14
                """
15
            )
16
        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