Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added change forgotten in r17668.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f95141abcc8a56c533500befac7baf2ae25b5a5a 1 parent 101b6e1
Aymeric Augustin authored March 05, 2012
17  tests/regressiontests/localflavor/fr/tests.py
@@ -55,6 +55,8 @@ def test_FRDepartmentSelect(self):
55 55
 <option value="17">17 - Charente-Maritime</option>
56 56
 <option value="18">18 - Cher</option>
57 57
 <option value="19">19 - Corrèze</option>
  58
+<option value="2A">2A - Corse-du-Sud</option>
  59
+<option value="2B">2B - Haute-Corse</option>
58 60
 <option value="21">21 - Côte-d&#39;Or</option>
59 61
 <option value="22">22 - Côtes-d&#39;Armor</option>
60 62
 <option value="23">23 - Creuse</option>
@@ -62,10 +64,8 @@ def test_FRDepartmentSelect(self):
62 64
 <option value="25">25 - Doubs</option>
63 65
 <option value="26">26 - Drôme</option>
64 66
 <option value="27">27 - Eure</option>
65  
-<option value="28">28 - Eure-et-Loire</option>
  67
+<option value="28">28 - Eure-et-Loir</option>
66 68
 <option value="29">29 - Finistère</option>
67  
-<option value="2A">2A - Corse-du-Sud</option>
68  
-<option value="2B">2B - Haute-Corse</option>
69 69
 <option value="30">30 - Gard</option>
70 70
 <option value="31">31 - Haute-Garonne</option>
71 71
 <option value="32">32 - Gers</option>
@@ -111,7 +111,7 @@ def test_FRDepartmentSelect(self):
111 111
 <option value="72">72 - Sarthe</option>
112 112
 <option value="73">73 - Savoie</option>
113 113
 <option value="74">74 - Haute-Savoie</option>
114  
-<option value="75">75 - Paris</option>
  114
+<option value="75" selected="selected">75 - Paris</option>
115 115
 <option value="76">76 - Seine-Maritime</option>
116 116
 <option value="77">77 - Seine-et-Marne</option>
117 117
 <option value="78">78 - Yvelines</option>
@@ -138,9 +138,12 @@ def test_FRDepartmentSelect(self):
138 138
 <option value="974">974 - La Réunion</option>
139 139
 <option value="975">975 - Saint-Pierre-et-Miquelon</option>
140 140
 <option value="976">976 - Mayotte</option>
141  
-<option value="984">984 - Terres Australes et Antarctiques</option>
  141
+<option value="977">977 - Saint-Barthélemy</option>
  142
+<option value="978">978 - Saint-Martin</option>
  143
+<option value="984">984 - Terres australes et antarctiques françaises</option>
142 144
 <option value="986">986 - Wallis et Futuna</option>
143  
-<option value="987">987 - Polynésie Française</option>
  145
+<option value="987">987 - Polynésie française</option>
144 146
 <option value="988">988 - Nouvelle-Calédonie</option>
  147
+<option value="989">989 - Île de Clipperton</option>
145 148
 </select>'''
146  
-        self.assertHTMLEqual(f.render('dep', 'Paris'), out)
  149
+        self.assertHTMLEqual(f.render('dep', '75'), out)

0 notes on commit f95141a

Please sign in to comment.
Something went wrong with that request. Please try again.