refactor: use IntegrationTestCase instead of FrappeTestCase by krantheman [frappe] PR#2277
From: https://github.com/frappe/hrms/pull/2277
Date: 2024-10-10 17:52:41+05:30
- refactor: use IntegrationTestCase instead of FrappeTestCase
Diagnostics
pre-commit failed for source commit: adf089a7d80224df2e74b39d5162945f6b2049be
[WARNING] top-level `default_stages` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
[WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version. Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this. if it does not -- consider reporting an issue to that repo.
hrms/hr/doctype/expense_claim/test_expense_claim.py:490:3: F821 Undefined name `change_settings`
hrms/hr/doctype/interview/test_interview.py:60:3: F821 Undefined name `change_settings`
hrms/hr/doctype/interview/test_interview.py:81:3: F821 Undefined name `change_settings`
hrms/payroll/doctype/employee_tax_exemption_declaration/test_employee_tax_exemption_declaration.py:203:20: F821 Undefined name `flt`
Found 5 errors (1 fixed, 4 remaining).
1 file reformatted, 109 files left unchanged
pre-commit failed for source commit: b742bc41d1e8bd1c2b05556d7f63512584993c30
[WARNING] top-level `default_stages` uses deprecated stage names (commit) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
2 files reformatted
Checkout instructions
# Checkout locally
git fetch upstream
git switch ft-pr-2277
# Alternatively, re-take the changes
git switch develop
ft take ft-pr-2277
# Make changes then rebase
git rebase -i develop
# Fix or ignore conflicts
git checkout --theirs .
git rebase --continue
# Force-push changes
git push --force-with-lease