File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212WG_USER = ''
1313AD_USER = ''
1414
15- class MainTestCase (TestCase ):
15+ class SecrAnnouncementTestCase (TestCase ):
1616 # ------- Test View -------- #
1717 def test_main (self ):
1818 "Main Test"
@@ -25,7 +25,7 @@ def test_main(self):
2525class DummyCase (TestCase ):
2626 name = connection .settings_dict ['NAME' ]
2727
28- class UnauthorizedCase (TestCase ):
28+ class UnauthorizedAnnouncementCase (TestCase ):
2929 def test_unauthorized (self ):
3030 "Unauthorized Test"
3131 make_test_data ()
@@ -35,7 +35,7 @@ def test_unauthorized(self):
3535 r = self .client .get (url )
3636 self .assertEqual (r .status_code , 403 )
3737
38- class SubmitCase (TestCase ):
38+ class SubmitAnnouncementCase (TestCase ):
3939 def test_invalid_submit (self ):
4040 "Invalid Submit"
4141 make_test_data ()
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ def augment_data():
1515 type = 'started' ,
1616 by = system )
1717
18- class MainTestCase (TestCase ):
18+ class SecrAreasTestCase (TestCase ):
1919 def test_main (self ):
2020 "Main Test"
2121 make_test_data ()
Original file line number Diff line number Diff line change 1616
1717SECR_USER = 'secretary'
1818
19- class MainTestCase (TestCase ):
19+ class SecrDraftsTestCase (TestCase ):
2020 def setUp (self ):
2121 self .saved_internet_draft_path = settings .INTERNET_DRAFT_PATH
2222 self .repository_dir = os .path .abspath ("tmp-submit-repository-dir" )
Original file line number Diff line number Diff line change @@ -124,7 +124,6 @@ def process_files(request,draft):
124124 file_size = txt_size ,
125125 document_date = wrapper .get_creation_date (),
126126 submission_date = datetime .date .today (),
127- idnits_message = 'idnits bypassed by manual posting' ,
128127 group_id = draft .group .id ,
129128 remote_ip = request .META ['REMOTE_ADDR' ],
130129 first_two_pages = '' .join (wrapper .pages [:2 ]),
Original file line number Diff line number Diff line change 1616from ietf .utils .test_utils import TestCase
1717
1818
19- class MainTestCase (TestCase ):
19+ class SecrMeetingTestCase (TestCase ):
2020 def setUp (self ):
2121 self .proceedings_dir = os .path .abspath ("tmp-proceedings-dir" )
2222 if not os .path .exists (self .proceedings_dir ):
Original file line number Diff line number Diff line change 1919
2020SECR_USER = 'secretary'
2121
22- class MainTestCase (TestCase ):
22+ class ProceedingsTestCase (TestCase ):
2323 def test_main (self ):
2424 "Main Test"
2525 make_test_data ()
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def augment_data():
1414 # need this for the RoleForm intialization
1515 Group .objects .create (acronym = 'dummy' ,name = 'Dummy Group' ,type_id = 'sdo' )
1616
17- class MainTestCase (TestCase ):
17+ class SecrRolesMainTestCase (TestCase ):
1818 def test_main (self ):
1919 "Main Test"
2020 augment_data ()
Original file line number Diff line number Diff line change 77
88SECR_USER = 'secretary'
99
10- class MainTestCase (TestCase ):
10+ class RolodexTestCase (TestCase ):
1111 def test_main (self ):
1212 "Main Test"
1313 url = reverse ('rolodex' )
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def test_urls(self):
2727 r = self .client .get ("/secr/sreq/%s/new/" % testgroup .acronym )
2828 self .assertEqual (r .status_code , 200 )
2929
30- class MainTestCase (TestCase ):
30+ class SessionRequestTestCase (TestCase ):
3131 def test_main (self ):
3232 make_test_data ()
3333 url = reverse ('sessions' )
Original file line number Diff line number Diff line change 1111def augment_data ():
1212 TelechatDate .objects .create (date = datetime .datetime .today ())
1313
14- class MainTestCase (TestCase ):
14+ class SecrTelechatTestCase (TestCase ):
1515 def test_main (self ):
1616 "Main Test"
1717 augment_data ()
You can’t perform that action at this time.
0 commit comments