def test_services(self):
        """Test DataService get function return of service metadata results."""
        earthaccess._auth.authenticated = False
        actual = earthaccess.search_services(concept_id="S2004184019-POCLOUD")

        self.assertTrue(actual[0]["umm"]["Type"] == "OPeNDAP")
        self.assertTrue(
            actual[0]["umm"]["ServiceOrganizations"][0]["ShortName"] == "UCAR/UNIDATA"
        )
        self.assertTrue(
            actual[0]["umm"]["Description"] == "Earthdata OPEnDAP in the cloud"
        )
        self.assertTrue(actual[0]["umm"]["LongName"] == "PO.DAAC OPeNDADP In the Cloud")
Test DataService get function return of service metadata results.
tests/unit/test_services.py