Extract repeated test command setup into helper functions: - run_init_with_dirs() for tests with separate config/rules directories - run_init_with_credential() for tests with credential files This eliminates code duplication and makes tests more maintainable. Also fixed duplicate #[test] attribute warning.
14 KiB
14 KiB