Commit graph

19 commits

Author SHA1 Message Date
Ankush Menat
de9ac89748 style: re-format with ruff 2024-02-05 18:53:33 +05:30
Ankush Menat
c4815ff987 fix!: Don't silently fail API auth 2023-11-01 17:51:23 +05:30
Ankush Menat
3d0888a5d5 refactor: set_value usage 2023-06-13 16:00:43 +05:30
barredterra
ce545c807d fix: test frappe client 2023-01-18 13:24:13 +01:00
barredterra
da925ce681 fix: test cases for frappe client 2023-01-17 21:00:05 +01:00
barredterra
8893788365 fix: undo temp constant in test 2023-01-17 20:14:50 +01:00
barredterra
3afdb39372 fix: test update with content instead of title 2022-12-20 15:30:15 +01:00
Ankush Menat
3ec4a618e3
test: FrappeClient tests not skipped (#17843) 2022-08-16 14:10:12 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features (#17367)
refactor: clean up code to py39+ supported syntax

- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes

Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Gavin D'souza
ea7a53568f test(TestFrappeClient): Set Admin password else skip
ref: https://github.com/frappe/frappe/runs/5303629148?check_suite_focus=true
2022-02-23 20:28:19 +05:30
Gavin D'souza
8b01c04a75 chore: Add type hints 2022-02-11 13:18:24 +05:30
Gavin D'souza
08279e30c9 fix: Use cls to specify class attrs and self for instance's 2022-02-10 01:31:08 +05:30
Ankush Menat
5fac8bb965 test: don't hardcode test password 2022-01-04 13:59:22 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Gavin D'souza
380e9e7c08 fix(test): Add missing comma 2021-08-19 20:30:13 +05:30
Gavin D'souza
c00a5003f4 refactor(tests): frappe.db.delete > frappe.db.sql
Use frappe.db.delete wherever possible. Get rid of all the frappe.db.sql
;)

This commit focuses on the frappe.tests module
2021-08-19 19:48:42 +05:30
Gavin D'souza
bcbc14d047 chore: Rename test suite and remove unused imports 2021-05-20 17:11:12 +05:30
Gavin D'souza
98100437d0 chore: Renamed test files "appropriately" 2021-05-20 16:52:48 +05:30
Renamed from frappe/tests/test_api.py (Browse further)