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

Allow specifying directories when reading tests from files #1032

Closed
yaelmi3 opened this issue Sep 15, 2020 · 0 comments
Closed

Allow specifying directories when reading tests from files #1032

yaelmi3 opened this issue Sep 15, 2020 · 0 comments

Comments

@yaelmi3
Copy link
Contributor

yaelmi3 commented Sep 15, 2020

The current implementation allows specifying files only when running slash with -f. In case directory is provided, we attempt to read it as file (https://github.com/getslash/slash/blob/develop/slash/utils/suite_files.py#L13) and fail with IsADirectoryError: [Errno 21] Is a directory:. Infinidat automation users have requested to support directories (recursive) as well as suite files

yaelmi3 added a commit to yaelmi3/slash that referenced this issue Sep 15, 2020
Add an option to provide directories when using -f
yaelmi3 added a commit to yaelmi3/slash that referenced this issue Sep 15, 2020
Add an option to provide directories when using -f
yaelmi3 added a commit to yaelmi3/slash that referenced this issue Sep 15, 2020
Add an option to provide directories when using -f
yaelmi3 added a commit to yaelmi3/slash that referenced this issue Sep 15, 2020
Add an option to provide directories when using -f
yaelmi3 added a commit to yaelmi3/slash that referenced this issue Sep 16, 2020
Add an option to provide directories when using -f
yaelmi3 added a commit to yaelmi3/slash that referenced this issue Sep 17, 2020
Add an option to provide directories when using -f
@yaelmi3 yaelmi3 closed this as completed Sep 21, 2020
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