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

Update tests and fixtures

parent f45ae46a
......@@ -29,7 +29,7 @@ class BaseTest(ResponseDiffTestMixin, test.TestCase):
class RepresentativeBaseTest(BaseTest):
tab = 'none'
base_url = '/legislature/representative/olivier-dussopt-1978-08-16/%s/'
base_url = '/representatives/olivier-dussopt-1978-08-16/%s/'
"""
Common queries plus:
......@@ -61,7 +61,7 @@ class RepresentativeBaseTest(BaseTest):
class ThemeBaseTest(BaseTest):
tab = 'none'
base_url = '/theme/etat-durgence/%s/'
base_url = '/themes/etat-durgence/%s/'
"""
Common queries plus:
......@@ -83,7 +83,7 @@ class ThemeBaseTest(BaseTest):
class DossierBaseTest(BaseTest):
tab = 'none'
base_url = '/votes/dossier/15409/%s/'
base_url = '/dossiers/15409/%s/'
"""
Common queries plus:
......
<a class="tag" href="/theme/etat-durgence/">Etat d'urgence</a>
\ No newline at end of file
<a class="tag" href="/themes/etat-durgence/">Etat d'urgence</a>
\ No newline at end of file
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/1237/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/1237/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/1237/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/dossiers/1237/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/1237/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/dossiers/1237/">
<h4 class="text-center">Resolution on the Anti-Counterfeiting Trade Agreement (ACTA)</h4>
<div class="lead">
......@@ -41,11 +41,11 @@
</div>
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/1237/">
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/dossiers/1237/">
 
</a><a class="tag" href="/theme/acta/">ACTA</a>
</a><a class="tag" href="/themes/acta/">ACTA</a>
 
......@@ -59,10 +59,10 @@
---
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/15409/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15409/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/15409/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/dossiers/15409/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15409/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/dossiers/15409/">
<h4 class="text-center">Pouvoirs publics : prorogation de l'application de la loi sur l'état d'urgence</h4>
<div class="lead">
......@@ -100,11 +100,11 @@
</div>
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15409/">
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/dossiers/15409/">
 
</a><a class="tag" href="/theme/etat-durgence/">Etat d'urgence</a>
</a><a class="tag" href="/themes/etat-durgence/">Etat d'urgence</a>
 
......@@ -118,10 +118,10 @@
---
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/15407/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15407/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/15407/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/dossiers/15407/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15407/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/dossiers/15407/">
<h4 class="text-center">Pouvoirs publics : prorogation de l'état d'urgence</h4>
<div class="lead">
......@@ -161,11 +161,11 @@
</div>
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15407/">
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/dossiers/15407/">
 
</a><a class="tag" href="/theme/etat-durgence/">Etat d'urgence</a>
</a><a class="tag" href="/themes/etat-durgence/">Etat d'urgence</a>
 
......@@ -179,10 +179,10 @@
---
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/15426/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15426/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/15426/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/dossiers/15426/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15426/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/dossiers/15426/">
<h4 class="text-center">Pouvoirs publics : prorogation de l'application de la loi relative à l'état d'urgence</h4>
<div class="lead">
......@@ -222,11 +222,11 @@
</div>
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15426/">
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/dossiers/15426/">
 
</a><a class="tag" href="/theme/etat-durgence/">Etat d'urgence</a>
</a><a class="tag" href="/themes/etat-durgence/">Etat d'urgence</a>
 
......@@ -240,10 +240,10 @@
---
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/15424/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15424/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/15424/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/dossiers/15424/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15424/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/dossiers/15424/">
<h4 class="text-center">Pouvoirs publics : application de la loi relative à l’état d’urgence</h4>
<div class="lead">
......@@ -283,11 +283,11 @@
</div>
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/15424/">
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/dossiers/15424/">
 
</a><a class="tag" href="/theme/etat-durgence/">Etat d'urgence</a>
</a><a class="tag" href="/themes/etat-durgence/">Etat d'urgence</a>
 
......@@ -301,10 +301,10 @@
---
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/1430/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/1430/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/1430/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/dossiers/1430/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/1430/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/dossiers/1430/">
<h4 class="text-center">Declaration on the lack of a transparent process for the Anti-Counterfeiting Trade Agreement (ACTA) and potentially objectionable content</h4>
<div class="lead">
......@@ -332,11 +332,11 @@
</div>
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/1430/">
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/dossiers/1430/">
 
</a><a class="tag" href="/theme/acta/">ACTA</a>
</a><a class="tag" href="/themes/acta/">ACTA</a>
 
......@@ -350,10 +350,10 @@
---
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/1393/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/1393/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/1393/">
</a><div class="row"><a class="custom-thumbnail custom-invisible" href="/dossiers/1393/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/1393/">
</a><div class="col-xs-12"><a class="custom-thumbnail custom-invisible" href="/dossiers/1393/">
<h4 class="text-center">Resolution on the transparency and state of play of the Anti-Counterfeiting Trade Agreement ACTA negotiations</h4>
<div class="lead">
......@@ -381,11 +381,11 @@
</div>
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/votes/dossier/1393/">
</a><p class="text-right"><a class="custom-thumbnail custom-invisible" href="/dossiers/1393/">
 
</a><a class="tag" href="/theme/acta/">ACTA</a>
</a><a class="tag" href="/themes/acta/">ACTA</a>
 
......@@ -399,7 +399,7 @@
---
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/2/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/2/">
<div class="row">
<div class="col-xs-12">
......@@ -438,7 +438,7 @@
---
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/3/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/3/">
<div class="row">
<div class="col-xs-12">
......@@ -477,7 +477,7 @@
---
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/4/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/4/">
<div class="row">
<div class="col-xs-12">
......@@ -516,7 +516,7 @@
---
<div class="col-xs-12 col-md-4 dossier-card">
<div class="thumbnail">
<a class="custom-thumbnail custom-invisible" href="/votes/dossier/1/">
<a class="custom-thumbnail custom-invisible" href="/dossiers/1/">
<div class="row">
<div class="col-xs-12">
......
<option value="">All</option>
---
<option data-url="/legislature/representative/?committee=345" value="345">
<option data-url="/representatives/?committee=345" value="345">
AnComImmu –
Commission chargée de l'application de l'article 26 de la constitution
</option>
---
<option data-url="/legislature/representative/?committee=274" value="274">
<option data-url="/representatives/?committee=274" value="274">
AnComDef –
Commission de la défense nationale et des forces armées
</option>
---
<option data-url="/legislature/representative/?committee=387" value="387">
<option data-url="/representatives/?committee=387" value="387">
Commission d'enquête relative aux moyens mis en œuvre par l'État pour lutter contre le terrorisme depuis le 7 janvier
</option>
---
<option data-url="/legislature/representative/?committee=876" value="876">
<option data-url="/representatives/?committee=876" value="876">
Commission d'enquête sur les conditions d'abattage des animaux de boucherie dans les abattoirs français
</option>
---
<option data-url="/legislature/representative/?committee=484" value="484">
<option data-url="/representatives/?committee=484" value="484">
Commission d'enquête sur les conditions d'octroi d'une autorisation d'émettre à la chaîne numéro 23 et de sa vente
</option>
---
<option data-url="/legislature/representative/?committee=1297" value="1297">
<option data-url="/representatives/?committee=1297" value="1297">
Commission d'enquête visant à évaluer les conséquences sur l'investissement public et les services publics de proximité de la baisse des dotations de l'État aux communes et aux epci
</option>
---
<option data-url="/legislature/representative/?committee=335" value="335">
<option data-url="/representatives/?committee=335" value="335">
AnComCult –
Commission des affaires culturelles et de l'éducation
</option>
---
<option data-url="/legislature/representative/?committee=427" value="427">
<option data-url="/representatives/?committee=427" value="427">
AnComEco –
Commission des affaires économiques
</option>
---
<option data-url="/legislature/representative/?committee=285" value="285">
<option data-url="/representatives/?committee=285" value="285">
AnComEtrg –
Commission des affaires étrangères
</option>
---
<option data-url="/legislature/representative/?committee=364" value="364">
<option data-url="/representatives/?committee=364" value="364">
AnComEU –
Commission des affaires européennes
</option>
---
<option data-url="/legislature/representative/?committee=365" value="365">
<option data-url="/representatives/?committee=365" value="365">
AnComSoc –
Commission des affaires sociales
</option>
---
<option data-url="/legislature/representative/?committee=401" value="401">
<option data-url="/representatives/?committee=401" value="401">
AnComFin –
Commission des finances, de l'économie générale et du contrôle budgétaire
</option>
---
<option data-url="/legislature/representative/?committee=530" value="530">
<option data-url="/representatives/?committee=530" value="530">
AnComLois –
Commission des lois constitutionnelles, de la législation et de l'administration générale de la république
</option>
---
<option data-url="/legislature/representative/?committee=423" value="423">
<option data-url="/representatives/?committee=423" value="423">
AnComDevD –
Commission du développement durable et de l'aménagement du territoire
</option>
---
<option data-url="/legislature/representative/?committee=346" value="346">
<option data-url="/representatives/?committee=346" value="346">
Commission spéciale chargée d'examiner le projet de loi Égalité et citoyenneté
</option>
---
<option data-url="/legislature/representative/?committee=1622" value="1622">
<option data-url="/representatives/?committee=1622" value="1622">
Commission spéciale chargée d'examiner le projet de loi pour la croissance et l'activité
</option>
---
<option data-url="/legislature/representative/?committee=286" value="286">
<option data-url="/representatives/?committee=286" value="286">
Commission spéciale pour l'examen de la proposition de loi renforçant la lutte contre le système prostitutionnel
</option>
---
<option data-url="/legislature/representative/?committee=47" value="47">
<option data-url="/representatives/?committee=47" value="47">
AGRI –
Committee on Agriculture and Rural Development
</option>
---
<option data-url="/legislature/representative/?committee=89" value="89">
<option data-url="/representatives/?committee=89" value="89">
CONT –
Committee on Budgetary Control
</option>
---
<option data-url="/legislature/representative/?committee=34" value="34">
<option data-url="/representatives/?committee=34" value="34">
BUDG –
Committee on Budgets
</option>
---
<option data-url="/legislature/representative/?committee=7" value="7">
<option data-url="/representatives/?committee=7" value="7">
LIBE –
Committee on Civil Liberties, Justice and Home Affairs
</option>
---
<option data-url="/legislature/representative/?committee=37" value="37">
<option data-url="/representatives/?committee=37" value="37">
AFCO –
Committee on Constitutional Affairs
</option>
---
<option data-url="/legislature/representative/?committee=20" value="20">
<option data-url="/representatives/?committee=20" value="20">
CULT –
Committee on Culture and Education
</option>
---
<option data-url="/legislature/representative/?committee=8" value="8">
<option data-url="/representatives/?committee=8" value="8">
DEVE –
Committee on Development
</option>
---
<option data-url="/legislature/representative/?committee=30" value="30">
<option data-url="/representatives/?committee=30" value="30">
ECON –
Committee on Economic and Monetary Affairs
</option>
---
<option data-url="/legislature/representative/?committee=3" value="3">
<option data-url="/representatives/?committee=3" value="3">
EMPL –
Committee on Employment and Social Affairs
</option>
---
<option data-url="/legislature/representative/?committee=55" value="55">
<option data-url="/representatives/?committee=55" value="55">
PECH –
Committee on Fisheries
</option>
---
<option data-url="/legislature/representative/?committee=5" value="5">
<option data-url="/representatives/?committee=5" value="5">
AFET –
Committee on Foreign Affairs
</option>
---
<option data-url="/legislature/representative/?committee=23" value="23">
<option data-url="/representatives/?committee=23" value="23">
ITRE –
Committee on Industry, Research and Energy
</option>
---
<option data-url="/legislature/representative/?committee=49" value="49">
<option data-url="/representatives/?committee=49" value="49">
INTA –
Committee on International Trade
</option>
---
<option data-url="/legislature/representative/?committee=9" value="9">
<option data-url="/representatives/?committee=9" value="9">
JURI –
Committee on Legal Affairs
</option>
---
<option data-url="/legislature/representative/?committee=6" value="6">
<option data-url="/representatives/?committee=6" value="6">
PETI –
Committee on Petitions
</option>
---
<option data-url="/legislature/representative/?committee=24" value="24">
<option data-url="/representatives/?committee=24" value="24">
REGI –
Committee on Regional Development
</option>
---
<option data-url="/legislature/representative/?committee=48" value="48">
<option data-url="/representatives/?committee=48" value="48">
ENVI –
Committee on the Environment, Public Health and Food Safety
</option>
---
<option data-url="/legislature/representative/?committee=58" value="58">
<option data-url="/representatives/?committee=58" value="58">
IMCO –
Committee on the Internal Market and Consumer Protection
</option>
---
<option data-url="/legislature/representative/?committee=68" value="68">
<option data-url="/representatives/?committee=68" value="68">
TRAN –
Committee on Transport and Tourism
</option>
---
<option data-url="/legislature/representative/?committee=77" value="77">
<option data-url="/representatives/?committee=77" value="77">
FEMM –
Committee on Women's Rights and Gender Equality
</option>
---
<option data-url="/legislature/representative/?committee=61" value="61">
<option data-url="/representatives/?committee=61" value="61">
CRIS –
Special Committee on the Financial, Economic and Social Crisis
</option>
---
<option data-url="/legislature/representative/?committee=50" value="50">
<option data-url="/representatives/?committee=50" value="50">
SURE –
Special committee on the policy challenges and budgetary resources for a sustainable European Union after 2013
</option>
---
<option data-url="/legislature/representative/?committee=4" value="4">
<option data-url="/representatives/?committee=4" value="4">
DROI –
Subcommittee on Human Rights
</option>
\ No newline at end of file
......@@ -4,7 +4,7 @@
</dd>
---
<dd>
<span class="flag-icon flag-icon-fr"></span> France
<span class="flag-icon flag-icon-fr" data-placement="bottom" data-toggle="tooltip" title="France"></span> France
</dd>
---
<dd>
......@@ -12,7 +12,7 @@
</dd>
---
<dd>
<span class="group-icon" style="background-image: url(/static/collected/images/group-an-ser.png)"></span> Socialiste, écologiste et républicain
<span class="group-icon" data-placement="bottom" data-toggle="tooltip" style="background-image: url(/static/collected/images/group-an-ser.png)" title="Socialiste, écologiste et républicain"></span> Socialiste, écologiste et républicain
(SER)
</dd>
---
......
<!DOCTYPE html>
<html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/png" href="/static/collected/img/favicon.ico" />
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width" />
<title>Home - Political Memory</title>
<link rel="stylesheet" href="/static/collected/libs/bootstrap/dist/css/bootstrap.min.css" type="text/css" /><link rel="stylesheet" href="/static/collected/libs/fontawesome/css/font-awesome.min.css" type="text/css" /><link rel="stylesheet" href="/static/collected/libs/flag-icon-css/css/flag-icon.min.css" type="text/css" /><link rel="stylesheet" href="/static/collected/CACHE/css/base.586b8f5e9bff.css" type="text/css" />
<script type="text/javascript" src="/static/collected/libs/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="/static/collected/libs/bootstrap/dist/js/bootstrap.js"></script>
<link href="/static/collected/css/datetimepicker.css" type="text/css" media="all" rel="stylesheet" />
<script type="text/javascript" src="/static/collected/js/bootstrap-datetimepicker.js"></script>
</head>
<body >
<!-- -load memopol_tags cache -->
<div id='header' class='container-fluid'>
<a id='logo' href='/'>
<img src='/static/collected/images/logo.png' />
</a>
<h1>
<a id='header_banner' href='/'>
Political Memory
</a>
</h1>
<p class='organization'>
</p>
</div>
<div id='nav' class='container-fluid'>
<ul class='nav'>
<li>
<a href='/legislature/representative/'>
Representatives
</a>
</li>
<li>
<a href='/legislature/group/country/'>
Countries
</a>
</li>
<li>
<a href='/legislature/group/chamber/'>
Chambers
</a>
</li>
<li>
<a href='/legislature/group/group/'>
Parties
</a>
</li>
<li>
<a href='/legislature/group/delegation/'>
Delegations
</a>
</li>
<li>
<a href='/legislature/group/committee/'>
Committees
</a>
</li>
<li>
<a href='/theme/'>
Themes
</a>
</li>
<li>
<a href='/votes/dossier/'>
Dossiers
</a>
</li>
</ul>
</div>
<div class="container-fluid main-container">
<div class='row'>