def test_import_extended(self):
     with app.test_request_context():
         create_session(
             1, '4', track=1, session_type=1,
             microlocation=1, speakers=[2, 3])
         create_session(
             1, '5', track=2, speakers=[1]
         )
     self._test_import_success()
Пример #2
0
 def test_import_extended(self):
     with app.test_request_context():
         create_session(1,
                        '4',
                        track=1,
                        session_type=1,
                        microlocation=1,
                        speakers=[2, 3])
         create_session(1, '5', track=2, speakers=[1])
     self._test_import_success()
Пример #3
0
 def setUp(self):
     self.app = Setup.create_app()
     with app.test_request_context():
         register(self.app, u'*****@*****.**', u'test')
         create_event(
             creator_email='*****@*****.**', location_name='Science Centre, Singapore',
             latitude=87.5, longitude=88.5
         )
         create_services(1, '1')
         create_session(1, '2', state='accepted', track=1, microlocation=1, speakers=[1], session_type=1)