sweepai / evals

Apache License 2.0
0 stars 0 forks source link

Add tests using mocker to main.py #132

Closed sweep-nightly[bot] closed 1 year ago

sweep-nightly[bot] commented 1 year 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 1 year ago

Rollback Files For Sweep

sweep-nightly[bot] commented 1 year ago

Apply Sweep Rules to your PR?