Skip to content

Move in-package test directories to under /tests - #41

Merged
ajnelson-nist merged 3 commits into
mainfrom
move_tests_for_new_mypy_issue
Nov 9, 2022
Merged

ajnelson-nist merged 3 commits into
mainfrom
move_tests_for_new_mypy_issue

Conversation

@ajnelson-nist

Copy link
Copy Markdown
Contributor

This patch was brought on by a new effect in mypy v0.990 causing various test-library import patterns to fail typing review.

A deployed package typically does not require shipping its tests via e.g. PyPI. Following this design spirit, and to address the new mypy review errors, this patch moves tests out of the /dfxml directory to under /tests/misc_*. Each new misc directory gets a README that there still is an outstanding TODO on forward-porting the tests from their initial coding style.

The Makefiles are updated to work as well as they did before this file motion.

This patch was brought on by a new effect in `mypy` v0.990 causing
various test-library import patterns to fail typing review.

A deployed package typically does not require shipping its tests via
e.g. PyPI.  Following this design spirit, and to address the new `mypy`
review errors, this patch moves tests out of the `/dfxml` directory to
under `/tests/misc_*`.  Each new `misc` directory gets a README that
there still is an outstanding TODO on forward-porting the tests from
their initial coding style.

The Makefiles are updated to work as well as they did before this file
motion.

Signed-off-by: Alex Nelson <[email protected]>
…eck-tools

This patch retires Python 2 (EOL'd) from the testing now in
`tests/misc_object_tests`.

Signed-off-by: Alex Nelson <[email protected]>
@ajnelson-nist

Copy link
Copy Markdown
Contributor Author

Scope creep: I missed the Github Action was calling another Make target, which led to paying down some technical debt from grad. school.

@ajnelson-nist ajnelson-nist self-assigned this Nov 9, 2022
@ajnelson-nist
ajnelson-nist marked this pull request as ready for review November 9, 2022 21:11
@ajnelson-nist
ajnelson-nist merged commit 444603e into main Nov 9, 2022
@ajnelson-nist
ajnelson-nist deleted the move_tests_for_new_mypy_issue branch November 9, 2022 21:11
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.

1 participant