Skip to content

Commit 7a96c77

Browse files
committed
Updated the EditPositionTestCase to match the removed view alias for edit_position.
- Legacy-Id: 4633
1 parent 6e1c2e6 commit 7a96c77

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ietf/idrfc/testsREDESIGN.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ class EditPositionTestCase(django.test.TestCase):
412412

413413
def test_edit_position(self):
414414
draft = make_test_data()
415-
url = urlreverse('doc_edit_position', kwargs=dict(name=draft.name,
415+
url = urlreverse('ietf.idrfc.views_ballot.edit_position', kwargs=dict(name=draft.name,
416416
ballot_id=draft.latest_event(BallotDocEvent, type="created_ballot").pk))
417417
login_testing_unauthorized(self, "ad", url)
418418

@@ -474,7 +474,7 @@ def test_edit_position(self):
474474

475475
def test_edit_position_as_secretary(self):
476476
draft = make_test_data()
477-
url = urlreverse('doc_edit_position', kwargs=dict(name=draft.name,
477+
url = urlreverse('ietf.idrfc.views_ballot.edit_position', kwargs=dict(name=draft.name,
478478
ballot_id=draft.latest_event(BallotDocEvent, type="created_ballot").pk))
479479
ad = Person.objects.get(name="Aread Irector")
480480
url += "?ad=%s" % ad.pk
@@ -499,7 +499,7 @@ def test_edit_position_as_secretary(self):
499499

500500
def test_cannot_edit_position_as_pre_ad(self):
501501
draft = make_test_data()
502-
url = urlreverse('doc_edit_position', kwargs=dict(name=draft.name,
502+
url = urlreverse('ietf.idrfc.views_ballot.edit_position', kwargs=dict(name=draft.name,
503503
ballot_id=draft.latest_event(BallotDocEvent, type="created_ballot").pk))
504504

505505
# transform to pre-ad

0 commit comments

Comments
 (0)