Commit d150e7c3 authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Fix QA

parent 714aab07
......@@ -231,8 +231,6 @@ class MandateManager(models.Manager):
class MandateManager(models.Manager):
def get_by_natural_key(self, begin_date, end_date, representative_slug,
group_name, group_kind, group_chamber_nk):
representative = Representative.objects.get_by_natural_key(
......@@ -23,9 +23,9 @@ class TestBase(test.TestCase):
if field in compare:
for re in self._exclude_re:
for r in self._exclude_re:
for field in compare.keys():
if re.match(field):
if r.match(field):
......@@ -2,7 +2,6 @@ import mock
import os
from import call_command
from django.test import TestCase
from representatives_votes.contrib.parltrack import import_dossiers
from representatives_votes.contrib.parltrack import import_votes
from representatives_votes.models import Dossier, Proposal, Vote
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment