Skip to content

Commit 0d76528

Browse files
committed
Fix test and remove pdb invocation.
1 parent f06f15a commit 0d76528

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_liveserver.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ def test_rest_invalid_method_collection(self):
101101
auth=('admin', 'sekrit'),
102102
headers = {'content-type': "",
103103
'x-requested-with': "rest"})
104-
import pdb; pdb.set_trace()
105104
print(f.status_code)
106105
print(f.headers)
107106
print(f.content)
@@ -183,7 +182,7 @@ def test_rest_endpoint_collection_options(self):
183182
expected = { 'Access-Control-Allow-Origin': '*',
184183
'Access-Control-Allow-Headers': 'Content-Type, Authorization, X-Requested-With, X-HTTP-Method-Override',
185184
'Allow': 'OPTIONS, GET, POST',
186-
'Access-Control-Allow-Methods': 'HEAD, OPTIONS, GET, POST, PUT, DELETE, PATCH',
185+
'Access-Control-Allow-Methods': 'OPTIONS, GET, POST',
187186
}
188187

189188
# use dict comprehension to remove fields like date,

0 commit comments

Comments
 (0)