rename test member functions so that the tests actually run them. Consider cherrypicking this commit.

- Legacy-Id: 10033
This commit is contained in:
Robert Sparks 2015-08-20 02:32:01 +00:00
parent c01934bd10
commit e545f5e131

View file

@ -963,7 +963,7 @@ class IndividualInfoFormsTests(TestCase):
class SubmitToIesgTests(TestCase):
def verify_permissions(self):
def test_verify_permissions(self):
def verify_fail(username):
if username:
@ -986,7 +986,7 @@ class SubmitToIesgTests(TestCase):
for username in ['marschairman','secretary','ad']:
verify_can_see(username)
def cancel_submission(self):
def test_cancel_submission(self):
url = urlreverse('doc_to_iesg', kwargs=dict(name=self.docname))
self.client.login(username="marschairman", password="marschairman+password")
@ -996,7 +996,7 @@ class SubmitToIesgTests(TestCase):
doc = Document.objects.get(pk=self.doc.pk)
self.assertTrue(doc.get_state('draft-iesg')==None)
def confirm_submission(self):
def test_confirm_submission(self):
url = urlreverse('doc_to_iesg', kwargs=dict(name=self.docname))
self.client.login(username="marschairman", password="marschairman+password")