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

Module not found error if config does not exist in tools folder #22

Open
giper45 opened this issue Jan 14, 2022 · 0 comments
Open

Module not found error if config does not exist in tools folder #22

giper45 opened this issue Jan 14, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@giper45
Copy link
Contributor

giper45 commented Jan 14, 2022

When list_tools() is performed, RAUDI does not check if a config.py exist inside the tools/.
It gives an exception taht should be managed:

Steps to reproduce the behavior.

  • Create a new folder in tools without config.py.
  • Run raudi --list

Expected behavior
Raudi should show an error message if config.py or Dockerfile does not exist.

A clear and concise description of what you expected to happen.

Possible solutions
Check for the existence of config.py and Dockerfile in a check_tools function when list and build_all methods are called.
It would be useful to implement a test suite to manage and track these fail conditions.

@giper45 giper45 added the bug Something isn't working label Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant