CodeRabbit Generated Unit Tests: Add tests directory, helpers, and unittest/pytest discovery config #37
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.
Unit test generation was requested by @ibrahmsql.
The following files were modified:
tests/README.mdtests/TESTING.mdtests/__init__.pytests/_helpers.pytests/analysis/__init__.pytests/analysis/endpoints/__init__.pytests/analysis/endpoints/test_endpoint_scanner.pytests/analysis/files/__init__.pytests/analysis/info/__init__.pytests/analysis/info/test_info_module.pytests/analysis/passive/__init__.pytests/analysis/passive/test_passive_scanner_module.pytests/analysis/plugins/__init__.pytests/analysis/plugins/test_plugin_detection_module.pytests/compliance/__init__.pytests/compliance/test_compliance_module.pytests/core/__init__.pytests/discourse_specific/__init__.pytests/discourse_specific/admin/__init__.pytests/discourse_specific/badges/__init__.pytests/discourse_specific/badges/test_badge_module.pytests/discourse_specific/cache/__init__.pytests/discourse_specific/categories/__init__.pytests/discourse_specific/categories/test_category_module.pytests/discourse_specific/email/__init__.pytests/discourse_specific/rate_limiting/__init__.pytests/discourse_specific/rate_limiting/test_rate_limit_module.pytests/discourse_specific/search/__init__.pytests/discourse_specific/session/__init__.pytests/discourse_specific/trust_levels/__init__.pytests/discourse_specific/webhooks/__init__.pytests/infrastructure/__init__.pytests/infrastructure/api/__init__.pytests/infrastructure/api/test_api_module.pytests/infrastructure/config/__init__.pytests/infrastructure/config/test_config_parsers.pytests/infrastructure/config/test_config_security.pytests/infrastructure/database/__init__.pytests/infrastructure/database/test_database_module.pytests/infrastructure/network/__init__.pytests/infrastructure/network/test_network_module.pytests/pytest.initests/requirements-test.txttests/run_all_tests.pytests/security/__init__.pytests/security/auth/__init__.pytests/security/crypto/__init__.pytests/security/crypto/test_crypto_module.pytests/security/crypto/test_ssl_tester.pytests/security/exploits/__init__.pytests/security/vulnerabilities/__init__.pytests/security/vulnerabilities/test_csrf_scanner.pytests/security/vulnerabilities/test_sqli_scanner.pytests/security/vulnerabilities/test_xss_scanner.pytests/testing/__init__.pytests/testing/validators/__init__.pytests/testing/validators/test_discourse_validator.pytests/utilities/__init__.pytests/utilities/test_user_enumeration.py