# HG changeset patch # User Branko Majic # Date 2013-11-09 19:29:01 # Node ID 66b88a6558ff4558f1fef4f497232753c6f84d8b # Parent f76428c6daced3b518eac1edb325d46e938bb7e8 CONNT-17: Context test should cover the communications presence as well. diff --git a/conntrackt/tests/test_views.py b/conntrackt/tests/test_views.py --- a/conntrackt/tests/test_views.py +++ b/conntrackt/tests/test_views.py @@ -179,6 +179,9 @@ class ProjectViewTest(PermissionTestMixi # Validate context data. self.assertEqual(str(response.context_data["project"]), "Test Project 1") + # Validate context data is present. + self.assertIn("communications", response.context_data.keys()) + class EntityViewTest(PermissionTestMixin, TestCase):