From e2a5d0b5a93bf1fdd58ce2fb274dbc55d1b86e2f Mon Sep 17 00:00:00 2001
From: Nicolas Joyard <joyard.nicolas@gmail.com>
Date: Mon, 18 Apr 2016 08:57:25 +0200
Subject: [PATCH] Fix expected URLs in mandates display

---
 .../test_mandates_display.html                | 70 +++++++++----------
 1 file changed, 35 insertions(+), 35 deletions(-)

diff --git a/memopol/tests/RepresentativeDetailTest/test_mandates_display.html b/memopol/tests/RepresentativeDetailTest/test_mandates_display.html
index ed53edd6..d464619b 100644
--- a/memopol/tests/RepresentativeDetailTest/test_mandates_display.html
+++ b/memopol/tests/RepresentativeDetailTest/test_mandates_display.html
@@ -5,7 +5,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
             Committee on Women&#39;s Rights and Gender Equality
 
               FEMM
@@ -21,7 +21,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Legal%20Affairs/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Legal%20Affairs/'>
             Committee on Legal Affairs
 
               JURI
@@ -37,7 +37,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Culture%20and%20Education/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'>
             Committee on Culture and Education
 
               CULT
@@ -53,7 +53,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/delegation/Delegation%20for%20relations%20with%20South%20Africa/'>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20for%20relations%20with%20South%20Africa/'>
             Delegation for relations with South Africa
 
           </a>
@@ -67,7 +67,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/delegation/Delegation%20to%20the%20Parliamentary%20Assembly%20of%20the%20Union%20for%20the%20Mediterranean/'>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20Parliamentary%20Assembly%20of%20the%20Union%20for%20the%20Mediterranean/'>
             Delegation to the Parliamentary Assembly of the Union for the Mediterranean
 
           </a>
@@ -81,7 +81,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/delegation/Delegation%20for%20relations%20with%20Palestine/'>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20for%20relations%20with%20Palestine/'>
             Delegation for relations with Palestine
 
           </a>
@@ -95,7 +95,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/group/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+          <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
             Group of the Progressive Alliance of Socialists and Democrats in the European Parliament
 
               SD
@@ -127,7 +127,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
             Committee on Women&#39;s Rights and Gender Equality
 
               FEMM
@@ -143,7 +143,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Culture%20and%20Education/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'>
             Committee on Culture and Education
 
               CULT
@@ -159,7 +159,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Legal%20Affairs/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Legal%20Affairs/'>
             Committee on Legal Affairs
 
               JURI
@@ -175,7 +175,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/delegation/Delegation%20for%20relations%20with%20Canada/'>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20for%20relations%20with%20Canada/'>
             Delegation for relations with Canada
 
           </a>
@@ -189,7 +189,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/group/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+          <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
             Group of the Progressive Alliance of Socialists and Democrats in the European Parliament
 
               SD
@@ -221,7 +221,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
             Committee on Women&#39;s Rights and Gender Equality
 
               FEMM
@@ -237,7 +237,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Culture%20and%20Education/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'>
             Committee on Culture and Education
 
               CULT
@@ -253,7 +253,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Legal%20Affairs/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Legal%20Affairs/'>
             Committee on Legal Affairs
 
               JURI
@@ -269,7 +269,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Regional%20Development/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Regional%20Development/'>
             Committee on Regional Development
 
               REGI
@@ -285,7 +285,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Industry,%20Research%20and%20Energy/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Industry,%20Research%20and%20Energy/'>
             Committee on Industry, Research and Energy
 
               ITRE
@@ -301,7 +301,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Culture%20and%20Education/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'>
             Committee on Culture and Education
 
               CULT
@@ -317,7 +317,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
             Committee on Women&#39;s Rights and Gender Equality
 
               FEMM
@@ -333,7 +333,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/delegation/Delegation%20to%20the%20EU-Former%20Yugoslav%20Republic%20of%20Macedonia%20Joint%20Parliamentary%20Committee/'>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20EU-Former%20Yugoslav%20Republic%20of%20Macedonia%20Joint%20Parliamentary%20Committee/'>
             Delegation to the EU-Former Yugoslav Republic of Macedonia Joint Parliamentary Committee
 
           </a>
@@ -347,7 +347,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/delegation/Delegation%20to%20the%20EU-Turkey%20Joint%20Parliamentary%20Committee/'>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20EU-Turkey%20Joint%20Parliamentary%20Committee/'>
             Delegation to the EU-Turkey Joint Parliamentary Committee
 
           </a>
@@ -361,7 +361,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/delegation/Delegation%20to%20the%20Euro-Mediterranean%20Parliamentary%20Assembly/'>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20Euro-Mediterranean%20Parliamentary%20Assembly/'>
             Delegation to the Euro-Mediterranean Parliamentary Assembly
 
           </a>
@@ -375,7 +375,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/group/Socialist%20Group%20in%20the%20European%20Parliament/'>
+          <a href='/legislature/representative/group/European%20Parliament/Socialist%20Group%20in%20the%20European%20Parliament/'>
             Socialist Group in the European Parliament
 
               PSE
@@ -407,7 +407,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20the%20Environment,%20Public%20Health%20and%20Food%20Safety/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20the%20Environment,%20Public%20Health%20and%20Food%20Safety/'>
             Committee on the Environment, Public Health and Food Safety
 
               ENVI
@@ -423,7 +423,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
             Committee on Women&#39;s Rights and Gender Equality
 
               FEMM
@@ -439,7 +439,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Culture%20and%20Education/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'>
             Committee on Culture and Education
 
               CULT
@@ -455,7 +455,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20the%20Environment,%20Public%20Health%20and%20Food%20Safety/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20the%20Environment,%20Public%20Health%20and%20Food%20Safety/'>
             Committee on the Environment, Public Health and Food Safety
 
               ENVI
@@ -471,7 +471,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
             Committee on Women&#39;s Rights and Gender Equality
 
               FEMM
@@ -487,7 +487,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Culture%20and%20Education/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'>
             Committee on Culture and Education
 
               CULT
@@ -503,7 +503,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Economic%20and%20Monetary%20Affairs/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Economic%20and%20Monetary%20Affairs/'>
             Committee on Economic and Monetary Affairs
 
               ECON
@@ -519,7 +519,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/group/Group%20of%20the%20Party%20of%20European%20Socialists/'>
+          <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Party%20of%20European%20Socialists/'>
             Group of the Party of European Socialists
 
               PSE
@@ -551,7 +551,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/delegation/Delegation%20to%20the%20EU-Cyprus%20Joint%20Parliamentary%20Committee/'>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20EU-Cyprus%20Joint%20Parliamentary%20Committee/'>
             Delegation to the EU-Cyprus Joint Parliamentary Committee
 
           </a>
@@ -565,7 +565,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/delegation/Delegation%20to%20the%20EU-Malta%20Joint%20Parliamentary%20Committee/'>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20EU-Malta%20Joint%20Parliamentary%20Committee/'>
             Delegation to the EU-Malta Joint Parliamentary Committee
 
           </a>
@@ -579,7 +579,7 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/Committee%20on%20Employment%20and%20Social%20Affairs/'>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Employment%20and%20Social%20Affairs/'>
             Committee on Employment and Social Affairs
 
               EMPL
@@ -595,7 +595,7 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/delegation/Delegation%20to%20the%20EU-Cyprus%20Joint%20Parliamentary%20Committee/'>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20EU-Cyprus%20Joint%20Parliamentary%20Committee/'>
             Delegation to the EU-Cyprus Joint Parliamentary Committee
 
           </a>
-- 
GitLab