Renamed a bunch of identically named MainTestCase classes.

- Legacy-Id: 10913
This commit is contained in:
Henrik Levkowetz 2016-03-06 18:18:38 +00:00
parent 59623cf67f
commit 4cac784522
10 changed files with 11 additions and 12 deletions

View file

@ -12,7 +12,7 @@ SECR_USER='secretary'
WG_USER=''
AD_USER=''
class MainTestCase(TestCase):
class SecrAnnouncementTestCase(TestCase):
# ------- Test View -------- #
def test_main(self):
"Main Test"
@ -25,7 +25,7 @@ class MainTestCase(TestCase):
class DummyCase(TestCase):
name = connection.settings_dict['NAME']
class UnauthorizedCase(TestCase):
class UnauthorizedAnnouncementCase(TestCase):
def test_unauthorized(self):
"Unauthorized Test"
make_test_data()
@ -35,7 +35,7 @@ class UnauthorizedCase(TestCase):
r = self.client.get(url)
self.assertEqual(r.status_code, 403)
class SubmitCase(TestCase):
class SubmitAnnouncementCase(TestCase):
def test_invalid_submit(self):
"Invalid Submit"
make_test_data()

View file

@ -15,7 +15,7 @@ def augment_data():
type='started',
by=system)
class MainTestCase(TestCase):
class SecrAreasTestCase(TestCase):
def test_main(self):
"Main Test"
make_test_data()

View file

@ -16,7 +16,7 @@ from pyquery import PyQuery
SECR_USER='secretary'
class MainTestCase(TestCase):
class SecrDraftsTestCase(TestCase):
def setUp(self):
self.saved_internet_draft_path = settings.INTERNET_DRAFT_PATH
self.repository_dir = os.path.abspath("tmp-submit-repository-dir")

View file

@ -124,7 +124,6 @@ def process_files(request,draft):
file_size=txt_size,
document_date=wrapper.get_creation_date(),
submission_date=datetime.date.today(),
idnits_message='idnits bypassed by manual posting',
group_id=draft.group.id,
remote_ip=request.META['REMOTE_ADDR'],
first_two_pages=''.join(wrapper.pages[:2]),

View file

@ -16,7 +16,7 @@ from ietf.utils.mail import outbox
from ietf.utils.test_utils import TestCase
class MainTestCase(TestCase):
class SecrMeetingTestCase(TestCase):
def setUp(self):
self.proceedings_dir = os.path.abspath("tmp-proceedings-dir")
if not os.path.exists(self.proceedings_dir):

View file

@ -19,7 +19,7 @@ from ietf.secr.utils.meeting import get_proceedings_path
SECR_USER='secretary'
class MainTestCase(TestCase):
class ProceedingsTestCase(TestCase):
def test_main(self):
"Main Test"
make_test_data()

View file

@ -14,7 +14,7 @@ def augment_data():
# need this for the RoleForm intialization
Group.objects.create(acronym='dummy',name='Dummy Group',type_id='sdo')
class MainTestCase(TestCase):
class SecrRolesMainTestCase(TestCase):
def test_main(self):
"Main Test"
augment_data()

View file

@ -7,7 +7,7 @@ from ietf.utils.test_data import make_test_data
SECR_USER='secretary'
class MainTestCase(TestCase):
class RolodexTestCase(TestCase):
def test_main(self):
"Main Test"
url = reverse('rolodex')

View file

@ -27,7 +27,7 @@ class SreqUrlTests(TestCase):
r = self.client.get("/secr/sreq/%s/new/" % testgroup.acronym)
self.assertEqual(r.status_code, 200)
class MainTestCase(TestCase):
class SessionRequestTestCase(TestCase):
def test_main(self):
make_test_data()
url = reverse('sessions')

View file

@ -11,7 +11,7 @@ SECR_USER='secretary'
def augment_data():
TelechatDate.objects.create(date=datetime.datetime.today())
class MainTestCase(TestCase):
class SecrTelechatTestCase(TestCase):
def test_main(self):
"Main Test"
augment_data()