Skip to content

Commit

Permalink
Added a negative test to ensure the RFC Editor is not included on not…
Browse files Browse the repository at this point in the history
…ifications of manual posts by the Secretariat unless the document is in the RFC Editor Queue.

 - Legacy-Id: 10591
  • Loading branch information
russhousley committed Dec 14, 2015
1 parent 014e79f commit 4a2868c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ietf/secr/drafts/tests_views.py
Expand Up @@ -87,8 +87,13 @@ def test_email(self):

def test_get_email_initial(self):
# Makes sure that a manual posting by the Secretariat of an I-D that is
# in the RFC Editor Queue will result in notification of the RFC Editor
# in the RFC Editor Queue will result in notification of the RFC Editor,
# but earlier in the approval process does not
draft = make_test_data()
state = State.objects.get(type='draft-iesg',slug='ad-eval')
draft.set_state(state)
data = get_email_initial(draft,type='revision')
self.assertFalse('rfc-editor@rfc-editor.org' in data['to'])
state = State.objects.get(type='draft-iesg',slug='rfcqueue')
draft.set_state(state)
data = get_email_initial(draft,type='revision')
Expand Down

0 comments on commit 4a2868c

Please sign in to comment.