You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Roman Donchenko 3d9c5add94
SDK: fix string field serialization for multipart/form-data requests (#5479)
Django REST Framework ignores the Content-Type on request body parts, so
it doesn't know that they are JSON-encoded. Instead, it just tries to
decode each part as if it was an `str()`-encoded value.

Change the encoding to match the decoding. The only type this matters
for is `str`, because `json.dumps` and `str` produce different encodings
for `str` values.

Remove `none_type` from the list of encodable types since, to my
knowledge, there's no way to encode a `None` value as a
`multipart/form-data` part in a way that DRF will understand.
3 years ago
..
__init__.py Fix several issues with testing system (#5394) 3 years ago
test_analytics.py Mark tests that require external services (#5474) 3 years ago
test_auth.py Fix SDK tests: login once per class (#5123) 3 years ago
test_cache_policy.py Autoformat python tests (#5021) 3 years ago
test_check_objects_integrity.py Migrate tests/python to from os.path to pathlib (#5426) 3 years ago
test_cloud_storages.py Added tests for preview endpoints (#5529) 3 years ago
test_invitations.py Fix SDK tests: login once per class (#5123) 3 years ago
test_issues.py Updated rego rules, job assignee can resolve an issue (#5167) 3 years ago
test_jobs.py Added tests for preview endpoints (#5529) 3 years ago
test_limits.py Better reporting for user limits (#5225) 3 years ago
test_memberships.py Fix SDK tests: login once per class (#5123) 3 years ago
test_organizations.py Fix SDK tests: login once per class (#5123) 3 years ago
test_projects.py Added tests for preview endpoints (#5529) 3 years ago
test_remote_url.py Fix SDK tests: login once per class (#5123) 3 years ago
test_resource_import_export.py Mark tests that require external services (#5474) 3 years ago
test_server.py Fix SDK tests: login once per class (#5123) 3 years ago
test_tasks.py SDK: fix string field serialization for multipart/form-data requests (#5479) 3 years ago
test_users.py Fix missed token with using social account authentication (#5344) 3 years ago
test_webhooks.py Mark tests that require external services (#5474) 3 years ago
test_webhooks_sender.py Mark tests that require external services (#5474) 3 years ago
utils.py SDK layer 2 - cover RC1 usecases (#4813) 4 years ago