File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -227,34 +227,3 @@ def test_demo_course(request, lms_application):
227
227
228
228
else :
229
229
pytest .skip ("Not running slow test." )
230
-
231
-
232
- def test_email_backend (request , lms_application ):
233
- if request .config .getoption ("--slow" ) == "True" :
234
- from now_lms import database , initial_setup
235
-
236
- with lms_application .app_context ():
237
-
238
- database .drop_all ()
239
- initial_setup (with_tests = False , with_examples = False )
240
-
241
- with lms_application .test_client () as client :
242
- client .get ("/setting/mail" )
243
- client .get ("/setting/mail_check" )
244
- data = {
245
- "MAIL_HOST" : "smtp.server.domain" ,
246
- "MAIL_PORT" : "465" ,
247
- "MAIL_USERNAME" : "user@server.domain" ,
248
- "MAIL_PASSWORD" : "ello123ass" ,
249
- "MAIL_USE_TLS" : True ,
250
- "MAIL_USE_SSL" : True ,
251
- "email" : True ,
252
- }
253
- client .post (
254
- "/setting/mail" ,
255
- data = data ,
256
- follow_redirects = True ,
257
- )
258
-
259
- else :
260
- pytest .skip ("Not running slow test." )
You can’t perform that action at this time.
0 commit comments