@@ -198,7 +198,6 @@ def test_bofs(self):
198198 self .assertEqual (len (q ('#content a:contains("%s")' % group .acronym )), 1 )
199199
200200 def test_group_documents (self ):
201- return # FIXME-LARS
202201 group = GroupFactory ()
203202 setup_default_community_list_for_group (group )
204203 draft = WgDraftFactory (group = group )
@@ -339,7 +338,6 @@ def verify_can_edit_group(url, group, username):
339338 verify_cannot_edit_group (url , group , username )
340339
341340 def test_group_about_personnel (self ):
342- return # FIXME-LARS
343341 """Correct personnel should appear on the group About page"""
344342 group = GroupFactory ()
345343 for role_name in group .features .default_used_roles :
@@ -582,7 +580,6 @@ def test_create_based_on_existing_bof(self):
582580# self.assertEqual(Group.objects.get(acronym=group.acronym).name, "Test")
583581
584582 def test_edit_info (self ):
585- return # FIXME-LARS
586583 group = GroupFactory (acronym = 'mars' ,parent = GroupFactory (type_id = 'area' ))
587584 CharterFactory (group = group )
588585 RoleFactory (group = group ,name_id = 'chair' ,person__user__email = 'marschairman@example.org' )
@@ -719,7 +716,6 @@ def test_edit_extresources(self):
719716
720717
721718 def test_edit_field (self ):
722- return # FIXME-LARS
723719 def _test_field (group , field_name , field_content , prohibited_form_names ):
724720 url = urlreverse ('ietf.group.views.edit' ,
725721 kwargs = dict (
@@ -763,7 +759,6 @@ def _test_field(group, field_name, field_content, prohibited_form_names):
763759 _test_field (group , 'liaison_cc_contact_roles' , 'user@example.com, other_user@example.com' , ['liaison_contact' ])
764760
765761 def test_edit_reviewers (self ):
766- return # FIXME-LARS
767762 group = GroupFactory (type_id = 'review' ,parent = GroupFactory (type_id = 'area' ))
768763 other_group = GroupFactory (type_id = 'review' ,parent = GroupFactory (type_id = 'area' ))
769764 review_req = ReviewRequestFactory (team = group )
@@ -960,7 +955,6 @@ def _assert_cleaned_data_equal(self, cleaned_data, post_data):
960955 self .assertEqual (actual , expected , 'unexpected value for {}' .format (attr ))
961956
962957 def do_edit_roles_test (self , group ):
963- return # FIXME-LARS
964958 # get post_data for the group
965959 orig_data = self ._group_post_data (group )
966960
@@ -1000,7 +994,6 @@ def test_edit_roles(self):
1000994 self .do_edit_roles_test (group )
1001995
1002996 def test_need_parent (self ):
1003- return # FIXME-LARS
1004997 """GroupForm should enforce non-null parent when required"""
1005998 group = GroupFactory ()
1006999 parent = group .parent
@@ -1076,7 +1069,6 @@ def last_day_of_month(self, d):
10761069
10771070
10781071 def test_milestone_sets (self ):
1079- return # FIXME-LARS
10801072 m1 , m2 , group = self .create_test_milestones ()
10811073
10821074 for url in group_urlreverse_list (group , 'ietf.group.milestones.edit_milestones;current' ):
@@ -1097,7 +1089,6 @@ def test_milestone_sets(self):
10971089 self .assertContains (r , m2 .desc )
10981090
10991091 def test_add_milestone (self ):
1100- return # FIXME-LARS
11011092 m1 , m2 , group = self .create_test_milestones ()
11021093
11031094 url = urlreverse ('ietf.group.milestones.edit_milestones;current' , kwargs = dict (group_type = group .type_id , acronym = group .acronym ))
@@ -1156,7 +1147,6 @@ def test_add_milestone(self):
11561147 self .assertTrue ('mars-wg@' in outbox [- 1 ]['To' ])
11571148
11581149 def test_add_milestone_as_chair (self ):
1159- return # FIXME-LARS
11601150 m1 , m2 , group = self .create_test_milestones ()
11611151
11621152 url = urlreverse ('ietf.group.milestones.edit_milestones;current' , kwargs = dict (group_type = group .type_id , acronym = group .acronym ))
@@ -1193,7 +1183,6 @@ def test_add_milestone_as_chair(self):
11931183 self .assertFalse (group .list_email in outbox [- 1 ]['To' ])
11941184
11951185 def test_accept_milestone (self ):
1196- return # FIXME-LARS
11971186 m1 , m2 , group = self .create_test_milestones ()
11981187 m1 .state_id = "review"
11991188 m1 .save ()
@@ -1225,7 +1214,6 @@ def test_accept_milestone(self):
12251214 self .assertTrue ("to active from review" in m .milestonegroupevent_set .all ()[0 ].desc )
12261215
12271216 def test_delete_milestone (self ):
1228- return # FIXME-LARS
12291217 m1 , m2 , group = self .create_test_milestones ()
12301218
12311219 url = urlreverse ('ietf.group.milestones.edit_milestones;current' , kwargs = dict (group_type = group .type_id , acronym = group .acronym ))
@@ -1253,7 +1241,6 @@ def test_delete_milestone(self):
12531241 self .assertTrue ("Deleted milestone" in m .milestonegroupevent_set .all ()[0 ].desc )
12541242
12551243 def test_edit_milestone (self ):
1256- return # FIXME-LARS
12571244 m1 , m2 , group = self .create_test_milestones ()
12581245
12591246 url = urlreverse ('ietf.group.milestones.edit_milestones;current' , kwargs = dict (group_type = group .type_id , acronym = group .acronym ))
@@ -1333,7 +1320,6 @@ def test_reset_charter_milestones(self):
13331320 self .assertEqual (group .charter .docevent_set .count (), events_before + 2 ) # 1 delete, 1 add
13341321
13351322 def test_edit_sort (self ):
1336- return # FIXME-LARS
13371323 group = GroupFactory (uses_milestone_dates = False )
13381324 DatelessGroupMilestoneFactory (group = group ,order = 1 )
13391325 DatelessGroupMilestoneFactory (group = group ,order = 0 )
@@ -1347,7 +1333,6 @@ def test_edit_sort(self):
13471333
13481334class DatelessMilestoneTests (TestCase ):
13491335 def test_switch_to_dateless (self ):
1350- return # FIXME-LARS
13511336 ad_role = RoleFactory (group__type_id = 'area' ,name_id = 'ad' )
13521337 ms = DatedGroupMilestoneFactory (group__parent = ad_role .group )
13531338 ad = ad_role .person
@@ -1384,7 +1369,6 @@ def test_switch_to_dateless(self):
13841369 self .assertEqual (len (q ('#uses_milestone_dates' )),0 )
13851370
13861371 def test_switch_to_dated (self ):
1387- return # FIXME-LARS
13881372 ad_role = RoleFactory (group__type_id = 'area' ,name_id = 'ad' )
13891373 ms = DatelessGroupMilestoneFactory (group__parent = ad_role .group )
13901374 ad = ad_role .person
@@ -1408,7 +1392,6 @@ def test_switch_to_dated(self):
14081392 self .assertEqual (len (q ('#uses_milestone_dates' )),1 )
14091393
14101394 def test_add_first_milestone (self ):
1411- return # FIXME-LARS
14121395 role = RoleFactory (name_id = 'chair' ,group__uses_milestone_dates = False )
14131396 group = role .group
14141397 chair = role .person
@@ -1428,7 +1411,6 @@ def test_add_first_milestone(self):
14281411 self .assertEqual (group .groupmilestone_set .count (),1 )
14291412
14301413 def test_can_switch_date_types_for_initial_charter (self ):
1431- return # FIXME-LARS
14321414 ad_role = RoleFactory (group__type_id = 'area' ,name_id = 'ad' )
14331415 ms = DatedGroupMilestoneFactory (group__parent = ad_role .group )
14341416 ad = ad_role .person
@@ -1451,7 +1433,6 @@ def test_can_switch_date_types_for_initial_charter(self):
14511433 self .assertEqual (q ('#switch-date-use-form button' ).attr ('style' ), None )
14521434
14531435 def test_edit_and_reorder_milestone (self ):
1454- return # FIXME-LARS
14551436 role = RoleFactory (name_id = 'chair' ,group__uses_milestone_dates = False )
14561437 group = role .group
14571438
@@ -1661,7 +1642,6 @@ def setUp(self):
16611642
16621643
16631644 def test_meeting_info (self ):
1664- return # FIXME-LARS
16651645 for url in group_urlreverse_list (self .group , 'ietf.group.views.meetings' ):
16661646 response = self .client .get (url )
16671647 self .assertEqual (response .status_code , 200 )
@@ -1852,7 +1832,6 @@ def test_admin_acronym_validation(self):
18521832 self .assertTrue (form .is_valid ())
18531833
18541834 def test_groupform_acronym_validation (self ):
1855- return # FIXME-LARS
18561835 form = GroupForm ({'acronym' :'shouldpass' ,'name' :'should pass' ,'state' :'active' },group_type = 'wg' )
18571836 self .assertTrue (form .is_valid ())
18581837 form = GroupForm ({'acronym' :'should-fail' ,'name' :'should fail' ,'state' :'active' },group_type = 'wg' )
0 commit comments