def test_different_sdk_keys(self):
        directory_1 = Directory({
            "service_ids": ['740c36bd-43cb-4238-8f4b-a75307c5ef62'],
            "sdk_keys": ["7acf6dc0-8db8-40e4-8045-2a73471adc58"],
            "premium":
            True,
            "name":
            "Directory Name",
            "android_key":
            "A Key",
            "ios_certificate_fingerprint":
            "A Fingerprint",
            "active":
            True,
            "id":
            "d36f81de-7683-48aa-b3cb-d4c6bffef3c5",
            "denial_context_inquiry_enabled":
            True,
            "webhook_url":
            "https://my.webhook.url/path"
        })

        directory_2 = Directory({
            "service_ids": ['740c36bd-43cb-4238-8f4b-a75307c5ef62'],
            "sdk_keys": ["7acf6dc0-8db8-40e4-8045-2a73471adc57"],
            "premium":
            True,
            "name":
            "Directory Name",
            "android_key":
            "A Key",
            "ios_certificate_fingerprint":
            "A Fingerprint",
            "active":
            True,
            "id":
            "d36f81de-7683-48aa-b3cb-d4c6bffef3c5",
            "denial_context_inquiry_enabled":
            True,
            "webhook_url":
            "https://my.webhook.url/path"
        })

        self.assertFalse(directory_1 == directory_2)
 def get_directory(self, directory_id):
     """
     Retrieves a Directory based on an input Directory ID
     :param directory_id: Unique Directory ID
     :raise: launchkey.exceptions.InvalidParameters - Input parameters were not correct
     :return: launchkey.entities.directory.Directory object containing Directory details
     """
     return Directory(self._validate_response(
         self._transport.post("/organization/v3/directories/list", self._subject,
                              directory_ids=[str(directory_id)]).data[0], DirectoryValidator))
 def get_directories(self, directory_ids):
     """
     Retrieves a list of Directories belonging to an Organization
     :param directory_ids: List of unique Directory IDs
     :raise: launchkey.exceptions.InvalidParameters - Input parameters were not correct
     :return: List - launchkey.entities.directory.Directory object containing Directory details
     """
     return [Directory(self._validate_response(directory, DirectoryValidator)) for directory in
             self._transport.post("/organization/v3/directories/list", self._subject,
                                  directory_ids=[str(directory_id) for directory_id in directory_ids]).data]