diff test/test_liveserver.py @ 6526:3c8322e3fe25

Fix test and remove pdb invocation.
author John Rouillard <rouilj@ieee.org>
date Sun, 07 Nov 2021 01:47:07 -0500
parents c505c774a94d
children f8df7fed18f6
line wrap: on
line diff
--- a/test/test_liveserver.py	Sun Nov 07 01:04:43 2021 -0500
+++ b/test/test_liveserver.py	Sun Nov 07 01:47:07 2021 -0500
@@ -101,7 +101,6 @@
                              auth=('admin', 'sekrit'),
                              headers = {'content-type': "",
                              'x-requested-with': "rest"})
-        import pdb; pdb.set_trace()
         print(f.status_code)
         print(f.headers)
         print(f.content)
@@ -183,7 +182,7 @@
         expected = { 'Access-Control-Allow-Origin': '*',
                      'Access-Control-Allow-Headers': 'Content-Type, Authorization, X-Requested-With, X-HTTP-Method-Override',
                      'Allow': 'OPTIONS, GET, POST',
-                     'Access-Control-Allow-Methods': 'HEAD, OPTIONS, GET, POST, PUT, DELETE, PATCH',
+                     'Access-Control-Allow-Methods': 'OPTIONS, GET, POST',
         }
 
         # use dict comprehension to remove fields like date,

Roundup Issue Tracker: http://roundup-tracker.org/