Skip to content

feature: getFileInfo API added and tested successfully #19

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

unniznd
Copy link

@unniznd unniznd commented Jun 5, 2025

What have you changed

Added get file info API and tested

Why have you changed

get file info API is missing

How to test it

The test case is available in test_get_file_info.py

pytest tests/test_get_file_info.py

@unniznd unniznd changed the title feature: get file info api added and tested successfully feature: get file info API added and tested successfully Jun 5, 2025
@unniznd unniznd changed the title feature: get file info API added and tested successfully feature: getFileInfo API added and tested successfully Jun 5, 2025
@aakash-taneja
Copy link

Good job covering the positive case. Please add a negative test for this:

  • The method should not retrieve file information with an invalid CID.

@unniznd
Copy link
Author

unniznd commented Jun 7, 2025

I have added the negative testcases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants