Commit 2d66a15e authored by Claude Paroz's avatar Claude Paroz

Updated test assertions

parent a1b2b79f
......@@ -235,7 +235,7 @@ class ModuleTestCase(TestCase):
def test_update_doap_infos(self):
from stats.doap import update_doap_infos
update_doap_infos(self.mod)
self.assertEqual(self.mod.homepage, "https://git.gnome.org/browse/gnome-hello")
self.assertEqual(self.mod.homepage, "http://git.gnome.org/browse/gnome-hello")
class StatisticsTests(TestCase):
......
......@@ -135,7 +135,7 @@ class TeamTest(TeamsAndRolesTests):
# Display team join page
team_join_url = reverse('person_team_join', current_app='people')
response = c.get(team_join_url)
self.assertContains(response, "select name=\"teams\"")
self.assertContains(response, "<select ")
# Post for joining
response = c.post(team_join_url, {'teams':[str(self.t.pk)]})
# Test user is member of team
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment