Skip to content

Add support for Django client driver #146

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

Merged
merged 16 commits into from
Jun 6, 2020

Conversation

michelts
Copy link
Contributor

@michelts michelts commented Jun 2, 2020

The splinter API is very useful to traverse over a Django client response body, but there is a minor bug that prevents one to use django as driver with pytest-splinter.

I fixed the bug and added a test for it.

Let me know if I missed anything!

michelts added 9 commits June 2, 2020 19:35
This is the result of the django-admin startproject
django_sample_project, without any modification.
If we reach admin, we can assume django is working!
This is an attempt to avoid the failing tests.
This way, we can opt out of pytest-django.
Python 2.7 accepts Django 1.11 at last, so the sample project needs to
be compatible with both.
@coveralls
Copy link

coveralls commented Jun 3, 2020

Coverage Status

Coverage remained the same at 87.5% when pulling a586d3f on michelts:add-support-for-django-client into e6af25a on pytest-dev:master.

Copy link
Member

@bubenkoff bubenkoff left a comment

Choose a reason for hiding this comment

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

please address
please also add a changelog record

Copy link
Member

@bubenkoff bubenkoff left a comment

Choose a reason for hiding this comment

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

@michelts sorry, forgot to mention, please also add your record to the authors

@michelts
Copy link
Contributor Author

michelts commented Jun 6, 2020

Done! Thank you @bubenkoff

bubenkoff
bubenkoff previously approved these changes Jun 6, 2020
@bubenkoff
Copy link
Member

@michelts added you to the repo, please merge by squashing the commits into one

@michelts michelts merged commit 732d332 into pytest-dev:master Jun 6, 2020
@michelts michelts deleted the add-support-for-django-client branch June 6, 2020 22:13
@bubenkoff
Copy link
Member

@michelts released 2.1.0

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.

3 participants