sweepai / evals

Apache License 2.0
0 stars 0 forks source link

Add tests using mocker to main.py #125

Closed sweep-nightly[bot] closed 11 months ago

sweep-nightly[bot] commented 11 months ago

Description

This PR adds tests to the main.py file using the mocker fixture from pytest-mock. The tests cover the initialization and forward method of the Net class, as well as the integration of the Net class with the FastAPI app in the api.py file.

Summary of Changes

Please review and merge this PR. Thank you!

Fixes #10.


šŸŽ‰ Latest improvements to Sweep:


šŸ’” To get Sweep to edit this pull request, you can:

sweep-nightly[bot] commented 11 months ago

Rollback Files For Sweep

sweep-nightly[bot] commented 11 months ago

Apply Sweep Rules to your PR?