@classmethod
    def from_stream(cls, fp, encoding='utf8'):
        decoded_data = psd_tools.decoder.parse(
            psd_tools.reader.parse(fp, encoding)
        )
        return cls(decoded_data)
Test that the user can retrieve all deploy keys.
dataset/ETHPy150Open psd-tools/psd-tools/src/psd_tools/user_api/psd_image.py/PSDImage.from_stream--crossover with--dataset/ETHPy150Open sigmavirus24/github3.py/tests/integration/test_repos_repo.py/TestRepository.test_keys