Updated a group test to match the facelift DOM.

- Legacy-Id: 9359
This commit is contained in:
Henrik Levkowetz 2015-04-02 19:46:43 +00:00
parent c321413ba1
commit f0dad527ee

View file

@ -167,7 +167,7 @@ class GroupPagesTests(TestCase):
self.client.login(username="secretary", password="secretary+password")
r = self.client.get(url)
q = PyQuery(r.content)
self.assertTrue(any([draft2.name in x.attrib['href'] for x in q('table.ietf-doctable td.addtolist a')]))
self.assertTrue(any([draft2.name in x.attrib['href'] for x in q('table td a.community-list-add-remove-doc')]))
# test the txt version too while we're at it
url = urlreverse('ietf.group.info.group_documents_txt', kwargs=dict(group_type=group.type_id, acronym=group.acronym))