Conversation
# Conflicts: # gate_entry/tests/__init__.py
There was a problem hiding this comment.
This PR is being reviewed by Cursor Bugbot
Details
You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.
To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Switches CI to use
bench run-tests(enablingallow_tests) and removesindia_compliance, while strengthening test bootstrap to reliably create companies/warehouses and conditionally set GST settings.bench --site test_site run-testswithallow_testsinstead ofrun-parallel-testsin.github/workflows/ci.yml.india_complianceapp from CI install steps.gate_entry/tests/__init__.py):ensure_test_company_exists()and call it early; create_Test Companyif missing.Companyonly if"Wind Power LLP"is absent; populate extra fields (e.g.,company_gstin,default_gst_rate,enable_audit_trail).DocTypeGST Settingsexisting; wrap in try/except.company.save(ignore_permissions=True)when none exist; create parent and child warehouses withignore_permissionsand without extra commits.set_default_company_for_tests(); saveGlobal Defaultswithignore_permissions.add_companies_to_fiscal_year, remove admin role enabling, extra cache/commit calls.Written by Cursor Bugbot for commit d15f3ff. This will update automatically on new commits. Configure here.