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
Rework whole Package to work under Python 2+3 and tests #206
Conversation
…easier move / merge
tests/test_hooks.py
Outdated
with pytest.raises(AttributeError): | ||
hooks.validate_packagename(None) | ||
|
||
configurator = Configurator( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is here an indention missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no. that is like it should.
I do test various variants within one test method.
As hooks.validate_packagename()
should take a Configurator object but also tests against None did have for all of those case test steps. Maybe it would be good to put comments for each case.
@MrTango commented to make it clearer |
Ok I have now moved the test matrix into the travis-ci config again. |
Changes Unknown when pulling 133495b on tox into ** on master**. |
Changes Unknown when pulling 5708c60 on tox into ** on master**. |
3 similar comments
Changes Unknown when pulling 5708c60 on tox into ** on master**. |
Changes Unknown when pulling 5708c60 on tox into ** on master**. |
Changes Unknown when pulling 5708c60 on tox into ** on master**. |
Changes Unknown when pulling 04e5ac7 on tox into ** on master**. |
5 similar comments
Changes Unknown when pulling 04e5ac7 on tox into ** on master**. |
Changes Unknown when pulling 04e5ac7 on tox into ** on master**. |
Changes Unknown when pulling 04e5ac7 on tox into ** on master**. |
Changes Unknown when pulling 04e5ac7 on tox into ** on master**. |
Changes Unknown when pulling 04e5ac7 on tox into ** on master**. |
Changes Unknown when pulling 4b6ace6 on tox into ** on master**. |
5 similar comments
Changes Unknown when pulling 4b6ace6 on tox into ** on master**. |
Changes Unknown when pulling 4b6ace6 on tox into ** on master**. |
Changes Unknown when pulling 4b6ace6 on tox into ** on master**. |
Changes Unknown when pulling 4b6ace6 on tox into ** on master**. |
Changes Unknown when pulling 4b6ace6 on tox into ** on master**. |
this pull gets partial superseeded by #216 |
most of the stuff from this branch has already been merged into 3.0. so I close this pull request. |
Rework the whole Package to make it testable and follow best practices.
Used tox and pytest as new test environment.