Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Feb 16, 2018
1 parent a6c89d1 commit 3250b32
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions readthedocs/rtd_tests/tests/test_footer.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def test_highest_version_from_stable(self):
valid_data = {
'project': 'Version 0.8.1 of Pip (19)',
'url': '/dashboard/pip/version/0.8.1/',
'slug': ('0.8.1',),
'slug': '0.8.1',
'version': '0.8.1',
'is_highest': True,
}
Expand All @@ -116,7 +116,7 @@ def test_highest_version_from_lower(self):
valid_data = {
'project': 'Version 0.8.1 of Pip (19)',
'url': '/dashboard/pip/version/0.8.1/',
'slug': ('0.8.1',),
'slug': '0.8.1',
'version': '0.8.1',
'is_highest': False,
}
Expand All @@ -129,7 +129,7 @@ def test_highest_version_from_latest(self):
valid_data = {
'project': 'Version 0.8.1 of Pip (19)',
'url': '/dashboard/pip/version/0.8.1/',
'slug': ('0.8.1',),
'slug': '0.8.1',
'version': '0.8.1',
'is_highest': True,
}
Expand Down Expand Up @@ -157,7 +157,7 @@ def test_highest_version_over_branches(self):
valid_data = {
'project': 'Version 1.0.0 of Pip ({})'.format(version.pk),
'url': '/dashboard/pip/version/1.0.0/',
'slug': ('1.0.0',),
'slug': '1.0.0',
'version': '1.0.0',
'is_highest': False,
}
Expand All @@ -171,7 +171,7 @@ def test_highest_version_without_tags(self):
valid_data = {
'project': 'Version 0.8.1 of Pip (19)',
'url': '/dashboard/pip/version/0.8.1/',
'slug': ('0.8.1',),
'slug': '0.8.1',
'version': '0.8.1',
'is_highest': True,
}
Expand All @@ -182,7 +182,7 @@ def test_highest_version_without_tags(self):
valid_data = {
'project': 'Version 0.8.1 of Pip (19)',
'url': '/dashboard/pip/version/0.8.1/',
'slug': ('0.8.1',),
'slug': '0.8.1',
'version': '0.8.1',
'is_highest': False,
}
Expand All @@ -199,7 +199,7 @@ def test_highest_version_without_tags(self):
valid_data = {
'project': 'Version 2.0.0 of Pip ({})'.format(version.pk),
'url': '/dashboard/pip/version/2.0.0/',
'slug': ('2.0.0',),
'slug': '2.0.0',
'version': '2.0.0',
'is_highest': False,
}
Expand Down

0 comments on commit 3250b32

Please sign in to comment.