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

Check the extension of extracted file for backward matching #65

Merged

Conversation

aidy1991
Copy link
Contributor

Fix #63

I have modified it to check the extension of extracted file for backward matching.

Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

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

Thanks a lot for pushing quickly a PR. Are you familiar with pytest? Could you add a test for this?

Some pointers:
The test for extracting an archive is there: https://github.com/aidy1991/jupyter-archive/blob/0516701ac7aed0640d2f78f6f9f2e5ff91b51d65/jupyter_archive/tests/test_archive_handler.py#L128

I advice you to update that test by adding a another pytest.mark.parametrize that set the archive name (see that test for an example of a double parametrized loops).

Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

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

Awesome thanks a lot!

@fcollonval fcollonval merged commit bbbd027 into jupyterlab-contrib:master Sep 10, 2021
@aidy1991
Copy link
Contributor Author

Thank you for very quick review and merging!!

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.

Allow to contain . in extraction file name
2 participants