seitime-frappe/frappe/tests
Ankush Menat bb7c3c289c
feat: support array request type (#25109)
There can be external APIs like webhooks that only send array request,
in which case Frappe has no mechanism to accept such requests.

After this PR such request data can be accessed using `data` list
argument on function.

I've considered directly storing list in form_dict but it's not
feasible:
1. It breaks semantics, "form_dict" can't be a list. That ship has long
   sailed.
2. Way too much code expects form_dict to be a dict.
2024-02-27 16:41:33 +00:00
..
data test: Add test for lazy_import 2022-08-11 23:53:21 +05:30
__init__.py test: Case to validate Web Link authentication 2022-05-30 15:35:47 +05:30
test_api.py feat: support array request type (#25109) 2024-02-27 16:41:33 +00:00
test_api_v2.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
test_assign.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_auth.py refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
test_background_jobs.py fix: limit job count in RQ failed registry (#22162) 2023-08-23 09:21:51 +00:00
test_base_document.py test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
test_boilerplate.py test: adjust param for get_user_input_stream 2024-01-29 15:18:08 +01:00
test_boot.py refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
test_caching.py chore(cache): add in some tests 2024-02-19 14:28:35 +05:30
test_child_table.py ci: update pyupgrade 2023-07-14 14:24:08 +05:30
test_client.py refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
test_commands.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
test_config.py chore: dead code removal (#18410) 2022-10-13 15:55:40 +05:30
test_cors.py test: ensure that Vary header is specified 2022-09-05 15:51:41 +05:30
test_dashboard_connections.py refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
test_db.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
test_db_query.py fix: ruff fixes 2024-02-07 17:04:31 +05:30
test_db_update.py refactor: inline immediately returned variable 2023-08-08 18:09:49 +02:00
test_defaults.py refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
test_deferred_insert.py fix: handle dict data in deferred_insert 2022-05-04 14:59:17 +05:30
test_docstatus.py test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
test_document.py test: add more tests for has_value_changed 2024-02-19 10:42:21 +05:30
test_document_locks.py refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
test_domainification.py test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
test_dynamic_links.py test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
test_email.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_exporter_fixtures.py test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
test_fixture_import.py test: fix broken tests 2023-06-03 22:53:10 +05:30
test_fmt_datetime.py test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
test_fmt_money.py chore: cleanup frappe.connect invocations 2024-01-24 11:56:24 +01:00
test_form_load.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
test_formatter.py test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
test_frappe_client.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_geo_ip.py test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
test_global_search.py refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
test_goal.py style: format all python files using black (#16453) 2022-04-12 10:59:25 +05:30
test_hooks.py fix!: Stricter requirement for permission hooks (#24253) 2024-01-11 01:35:08 +05:30
test_linked_with.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_listview.py fix: validate fieldname in get_group_by_count (#21932) 2023-08-06 17:33:34 +05:30
test_model_utils.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_modules.py test: skip tests on RO app paths which require write access (#21878) 2023-07-31 12:46:23 +05:30
test_monitor.py fix: misc dx improvemnts (#22188) 2023-08-28 07:01:25 +00:00
test_naming.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
test_nestedset.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_non_nullable_docfield.py fix: adapt tests to actually work 2023-11-16 16:14:50 +05:30
test_oauth20.py fix: ruff fixes 2024-02-07 17:04:31 +05:30
test_password.py test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
test_password_strength.py test: retry flaky password_strength test thrice 2023-12-20 13:57:48 +05:30
test_patches.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
test_pdf.py fix: Private images in PDFs from background jobs (#24980) 2024-02-21 10:38:02 +00:00
test_perf.py fix: ruff fixes 2024-02-07 17:04:31 +05:30
test_permissions.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_printview.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_query.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_query_builder.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_query_report.py fix: ruff fixes 2024-02-07 17:04:31 +05:30
test_rate_limiter.py refactor: frappe.cache() usage to frappe.cache (#21282) 2023-06-08 11:47:17 +05:30
test_rating.py fix: don't allow setting an invalid rating (#22633) 2023-10-10 15:38:58 +05:30
test_recorder.py fix: ruff fixes 2024-02-07 17:04:31 +05:30
test_redis.py test: bg jobs test cleanup (#18767) 2022-11-05 14:08:35 +05:30
test_rename_doc.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
test_reportview.py Revert "fix: search_link fails when txt contains parentheses (#22892)" 2024-01-17 12:44:20 +05:30
test_safe_exec.py fix: ruff fixes 2024-02-07 17:04:31 +05:30
test_scheduler.py refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
test_search.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_seen.py test: Use FrappeTestCase everywhere 2022-08-17 16:39:42 +05:30
test_sequence.py fix(sequence): Setup & use SequenceGeneratorLimitExceeded error 2022-06-17 12:10:43 +05:30
test_sitemap.py chore: db.get_all -> get_all 2022-08-22 11:35:14 +05:30
test_test_utils.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
test_translate.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
test_twofactor.py fix: ruff fixes 2024-02-07 17:04:31 +05:30
test_utils.py refactor(treewide): enable RUF rules 2024-02-21 16:20:28 +05:30
test_virtual_doctype.py test: crud with virtual child table 2023-08-08 16:22:59 +05:30
test_webform.py refactor: frappe.cache() usage to frappe.cache (#21282) 2023-06-08 11:47:17 +05:30
test_website.py refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
tests_geo_utils.py refactor: useless use of dict in frappe.get_doc 2024-02-10 12:52:38 +05:30
translation_test_file.txt feat: allow splitting _() function call on multiple lines 2022-03-26 16:18:35 +05:30
ui_test_helpers.py style: re-format with ruff 2024-02-05 18:53:33 +05:30
utils.py test: redo reset password tests 2024-02-11 14:30:50 +05:30