@@ -50,40 +50,40 @@ def doCanonicalize(self, url, content):
5050
5151# this test should be ported to run on a test database instead of the
5252# real database, and possibly expanded
53- class NewIprTestCase (unittest .TestCase ,RealDatabaseTest ):
54- SPECIFIC_DISCLOSURE = {
55- 'legal_name' :'Testing Only Please Ignore' ,
56- 'hold_name' :'Test Holder' ,
57- 'hold_telephone' :'555-555-0100' ,
58- 'hold_email' :'test.holder@example.com' ,
59- 'ietf_name' :'Test Participant' ,
60- 'ietf_telephone' :'555-555-0101' ,
61- 'ietf_email' :'test.participant@example.com' ,
62- 'rfclist' :'1149' ,
63- 'draftlist' :'draft-burdis-http-sasl-00' ,
64- 'patents' :'none' ,
65- 'date_applied' :'never' ,
66- 'country' :'nowhere' ,
67- 'licensing_option' :'5' ,
68- 'subm_name' :'Test Submitter' ,
69- 'subm_telephone' :'555-555-0102' ,
70- 'subm_email' :'test.submitter@example.com'
71- }
72-
73- def setUp (self ):
74- self .setUpRealDatabase ()
75- def tearDown (self ):
76- self .tearDownRealDatabase ()
77-
78- def testNewSpecific (self ):
79- print " Testing IPR disclosure submission"
80- empty_outbox ()
81- c = Client ()
82- response = c .post ('/ipr/new-specific/' , self .SPECIFIC_DISCLOSURE )
83- self .assertEquals (response .status_code , 200 )
84- self .assert_ ("Your IPR disclosure has been submitted" in response .content )
85- self .assertEquals (len (outbox ), 1 )
86- print "OK (1 email found in test outbox)"
53+ # class NewIprTestCase(unittest.TestCase,RealDatabaseTest):
54+ # SPECIFIC_DISCLOSURE = {
55+ # 'legal_name':'Testing Only Please Ignore',
56+ # 'hold_name':'Test Holder',
57+ # 'hold_telephone':'555-555-0100',
58+ # 'hold_email':'test.holder@example.com',
59+ # 'ietf_name':'Test Participant',
60+ # 'ietf_telephone':'555-555-0101',
61+ # 'ietf_email':'test.participant@example.com',
62+ # 'rfclist':'1149',
63+ # 'draftlist':'draft-burdis-http-sasl-00',
64+ # 'patents':'none',
65+ # 'date_applied':'never',
66+ # 'country':'nowhere',
67+ # 'licensing_option':'5',
68+ # 'subm_name':'Test Submitter',
69+ # 'subm_telephone':'555-555-0102',
70+ # 'subm_email':'test.submitter@example.com'
71+ # }
72+ #
73+ # def setUp(self):
74+ # self.setUpRealDatabase()
75+ # def tearDown(self):
76+ # self.tearDownRealDatabase()
77+ #
78+ # def testNewSpecific(self):
79+ # print " Testing IPR disclosure submission"
80+ # empty_outbox()
81+ # c = Client()
82+ # response = c.post('/ipr/new-specific/', self.SPECIFIC_DISCLOSURE)
83+ # self.assertEquals(response.status_code, 200)
84+ # self.assert_("Your IPR disclosure has been submitted" in response.content)
85+ # self.assertEquals(len(outbox), 1)
86+ # print "OK (1 email found in test outbox)"
8787
8888
8989class IprFileTestCase (unittest .TestCase ):
0 commit comments