Skip to content
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

add basic pytests for evaluate and infer #29

Merged
merged 4 commits into from
May 29, 2024
Merged

add basic pytests for evaluate and infer #29

merged 4 commits into from
May 29, 2024

Conversation

nikg4
Copy link
Collaborator

@nikg4 nikg4 commented May 29, 2024

No description provided.

@nikg4 nikg4 requested review from kaisopos, oelachqar and taenin May 29, 2024 19:15
)

# Simulate the user entering "Hello world!" in the terminal:
monkeypatch.setattr("builtins.input", lambda _: "Hello world!")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be moved to a test util as a generic function

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted. I will refactor/generalize we add more tests

@nikg4 nikg4 merged commit ad61313 into main May 29, 2024
@nikg4 nikg4 deleted the xrdaukar/more-tests branch May 29, 2024 20:10
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