Skip to content

Commit

Permalink
Adjust CSPM registration unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jshcodes committed Nov 12, 2024
1 parent 2048f2c commit 7a33960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_cspm_registration.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
auth = Authorization.TestAuthorization()
config = auth.getConfigObject()
falcon = CSPMRegistration(auth_object=config)
AllowedResponses = [200, 201, 207, 401, 403, 429] # Adding rate-limiting as an allowed response for now
AllowedResponses = [200, 201, 207, 400, 401, 403, 429] # Allowing 400 for no configured accounts
textchars = bytearray({7, 8, 9, 10, 12, 13, 27} | set(range(0x20, 0x100)) - {0x7f})
is_binary_string = lambda bytes: bool(bytes.translate(None, textchars)) # noqa: E731

Expand Down

0 comments on commit 7a33960

Please sign in to comment.