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

[tests] consider whether and how to test __main__.py and gptty.py #44

Open
signebedi opened this issue Mar 29, 2023 · 1 comment
Open

Comments

@signebedi
Copy link
Owner

[tests] consider whether and how to test main.py and gptty.py
Currently, we are testing a number of functions, but not testing main.py and gptty.py. These are mostly click interfaces and gptty-specific functions. Is it worth testing these? If so, how?

Originally posted by @signebedi in #40 (comment)

@signebedi
Copy link
Owner Author

If we want to test these features, we'll need to add a OpenAI API key as a github actions secret, see https://docs.github.com/en/rest/actions/secrets. This will allow us to test the functionality of the actual completions.

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

No branches or pull requests

1 participant