Open djeck1432 opened 3 hours ago
I am applying to this issue via OnlyDust platform.
I'm a Python developer with over 2 years of experience, particularly with FastAPI and writing tests using pytest. I believe my skills align well with what's needed for this task. Also, I like orange.
I like orange . I will solve this issue by implementing test cases for the following endpoints:
/api/get-repay-data :Successful Repay Data Retrieval ,Missing Wallet ID /api/close-position :Successful Position Closure ,Invalid Position ID /api/open-position :Successful Position Opening ,Missing Position ID /api/create_position_with_transaction_data :Successful Position Creation ,Invalid Input Data The tests will cover both positive scenarios (valid inputs) and negative scenarios (invalid or missing inputs). I'll use pytest and httpx for asynchronous test handling, and mock database interactions and external services to ensure full test coverage.
ETA: 2 days
open_position
close_position
get_repay_data
create_position_with_transaction_data