@@ -111,7 +111,7 @@ def test_highest_version_from_stable(self):
111
111
valid_data = {
112
112
'project' : 'Version 0.8.1 of Pip (19)' ,
113
113
'url' : '/dashboard/pip/version/0.8.1/' ,
114
- 'slug' : ( '0.8.1' ,) ,
114
+ 'slug' : '0.8.1' ,
115
115
'version' : '0.8.1' ,
116
116
'is_highest' : True ,
117
117
}
@@ -123,7 +123,7 @@ def test_highest_version_from_lower(self):
123
123
valid_data = {
124
124
'project' : 'Version 0.8.1 of Pip (19)' ,
125
125
'url' : '/dashboard/pip/version/0.8.1/' ,
126
- 'slug' : ( '0.8.1' ,) ,
126
+ 'slug' : '0.8.1' ,
127
127
'version' : '0.8.1' ,
128
128
'is_highest' : False ,
129
129
}
@@ -136,7 +136,7 @@ def test_highest_version_from_latest(self):
136
136
valid_data = {
137
137
'project' : 'Version 0.8.1 of Pip (19)' ,
138
138
'url' : '/dashboard/pip/version/0.8.1/' ,
139
- 'slug' : ( '0.8.1' ,) ,
139
+ 'slug' : '0.8.1' ,
140
140
'version' : '0.8.1' ,
141
141
'is_highest' : True ,
142
142
}
@@ -164,7 +164,7 @@ def test_highest_version_over_branches(self):
164
164
valid_data = {
165
165
'project' : 'Version 1.0.0 of Pip ({})' .format (version .pk ),
166
166
'url' : '/dashboard/pip/version/1.0.0/' ,
167
- 'slug' : ( '1.0.0' ,) ,
167
+ 'slug' : '1.0.0' ,
168
168
'version' : '1.0.0' ,
169
169
'is_highest' : False ,
170
170
}
@@ -178,7 +178,7 @@ def test_highest_version_without_tags(self):
178
178
valid_data = {
179
179
'project' : 'Version 0.8.1 of Pip (19)' ,
180
180
'url' : '/dashboard/pip/version/0.8.1/' ,
181
- 'slug' : ( '0.8.1' ,) ,
181
+ 'slug' : '0.8.1' ,
182
182
'version' : '0.8.1' ,
183
183
'is_highest' : True ,
184
184
}
@@ -189,7 +189,7 @@ def test_highest_version_without_tags(self):
189
189
valid_data = {
190
190
'project' : 'Version 0.8.1 of Pip (19)' ,
191
191
'url' : '/dashboard/pip/version/0.8.1/' ,
192
- 'slug' : ( '0.8.1' ,) ,
192
+ 'slug' : '0.8.1' ,
193
193
'version' : '0.8.1' ,
194
194
'is_highest' : False ,
195
195
}
@@ -206,7 +206,7 @@ def test_highest_version_without_tags(self):
206
206
valid_data = {
207
207
'project' : 'Version 2.0.0 of Pip ({})' .format (version .pk ),
208
208
'url' : '/dashboard/pip/version/2.0.0/' ,
209
- 'slug' : ( '2.0.0' ,) ,
209
+ 'slug' : '2.0.0' ,
210
210
'version' : '2.0.0' ,
211
211
'is_highest' : False ,
212
212
}
0 commit comments