Skip to content

Commit 75bc46f

Browse files
committed
add unauthorized catch code for common test runner
1 parent b9ba129 commit 75bc46f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test_elasticsearch/test_server/test_common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@
2727
CATCH_CODES = {
2828
'missing': 404,
2929
'conflict': 409,
30+
'unauthorized': 401,
3031
}
3132

3233
# test features we have implemented
33-
IMPLEMENTED_FEATURES = ('gtelte', 'stash_in_path', 'headers')
34+
IMPLEMENTED_FEATURES = ('gtelte', 'stash_in_path', 'headers', 'catch_unauthorized')
3435

3536
# broken YAML tests on some releases
3637
SKIP_TESTS = {

0 commit comments

Comments
 (0)