Beispiel #1
0
    def test_url_security_disabled(self) -> None:
        service = ServiceOpenSearch(
            self.version,
            self.distribution,
            self.additional_config,
            False,
            self.dependency_installer,
            self.work_dir
        )

        self.assertEqual(service.url(), "http://localhost:9200")
    def test_url_security_enabled(self):
        service = ServiceOpenSearch(self.version, self.additional_config, True,
                                    self.dependency_installer, self.work_dir)

        self.assertEqual(service.url(), "https://localhost:9200")