Skip to content

feature: getFileInfo API added and tested successfully#19

Merged
ravish1729 merged 2 commits into
lighthouse-web3:mainfrom
unniznd:feature_get_file_info
Jun 16, 2025
Merged

feature: getFileInfo API added and tested successfully#19
ravish1729 merged 2 commits into
lighthouse-web3:mainfrom
unniznd:feature_get_file_info

Conversation

@unniznd

@unniznd unniznd commented Jun 5, 2025

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Collaborator

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

unniznd commented Jun 7, 2025

Copy link
Copy Markdown
Contributor Author

I have added the negative testcases.

@ravish1729 ravish1729 merged commit 05c3200 into lighthouse-web3:main Jun 16, 2025
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.

3 participants