Skip to content

Commit 533e23d

Browse files
committed
More serious tests in test_person_profile_details
1 parent 3055511 commit 533e23d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ietf/person/tests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ def test_person_profile_details(self):
9393
r = self.client.get(url)
9494
self.assertContains(r, person.photo_name(), status_code=200)
9595
self.assertContains(r, "foo/bar")
96+
# Assume no previous meetings and no role
97+
self.assertContains(r, "has not participated at an IETF meeting since")
98+
self.assertContains(r, "has no active roles as of")
99+
96100
q = PyQuery(r.content)
97101
self.assertIn("Photo of %s"%person.name, q("div.bio-text img").attr("alt"))
98102

0 commit comments

Comments
 (0)