From 1bf06f6aaa48be9547bb982b0273795a2ea5fa55 Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Fri, 7 Nov 2014 14:40:28 -0200 Subject: [PATCH] Test add parlamentarians to cart --- requirements/dev.txt | 4 +- .../templates/parlamentares/carrinho.html | 2 +- sigi/apps/parlamentares/test_parlamentares.py | 43 ++++++++++++++++--- sigi/testutils.py | 10 +++++ 4 files changed, 50 insertions(+), 9 deletions(-) create mode 100644 sigi/testutils.py diff --git a/requirements/dev.txt b/requirements/dev.txt index c657482..2a390c0 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,11 +1,13 @@ -r producao.txt # para testes -coverage==3.7.1 pytest-django==2.7.0 WebTest==2.0.16 django-webtest==1.7.7 django-dynamic-fixture==1.7.0 +coverage==3.7.1 +pytest-cov==1.8.0 +pyPdf==1.13 # para desevolvimento django-debug-toolbar==1.2.1 diff --git a/sigi/apps/parlamentares/templates/parlamentares/carrinho.html b/sigi/apps/parlamentares/templates/parlamentares/carrinho.html index b518c45..0014856 100644 --- a/sigi/apps/parlamentares/templates/parlamentares/carrinho.html +++ b/sigi/apps/parlamentares/templates/parlamentares/carrinho.html @@ -58,7 +58,7 @@
-
{% csrf_token %} + {% csrf_token %}
{% trans 'Formato da Etiqueta' %}