def test_step_implementer_config_defaults(self): defaults = SonarQube.step_implementer_config_defaults() expected_defaults = { 'properties': './sonar-project.properties', 'java-truststore': '/etc/pki/java/cacerts' } self.assertEqual(defaults, expected_defaults)
def test__required_config_or_result_keys(self): required_keys = SonarQube._required_config_or_result_keys() expected_required_keys = [ 'url', 'application-name', 'service-name', 'version' ] self.assertEqual(required_keys, expected_required_keys)
def test_step_implementer_config_defaults(self): defaults = SonarQube.step_implementer_config_defaults() expected_defaults = { 'properties': './sonar-project.properties', 'java-truststore': '/etc/pki/java/cacerts', 'sonar-analyze-branches': False, 'release-branch-regexes': ['^main$', '^master$'] } self.assertEqual(defaults, expected_defaults)
def test_step_implementer_config_defaults(self): defaults = SonarQube.step_implementer_config_defaults() expected_defaults = {'properties': './sonar-project.properties'} self.assertEqual(defaults, expected_defaults)