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

Fix for Python 3 #8

Merged
merged 11 commits into from
Mar 18, 2016
Merged

Fix for Python 3 #8

merged 11 commits into from
Mar 18, 2016

Conversation

PetrDlouhy
Copy link
Contributor

based on PR #7

@PetrDlouhy PetrDlouhy changed the title Fix for Python 3, based on PR #7 Fix for Python 3 Mar 16, 2016
@Natim
Copy link
Collaborator

Natim commented Mar 16, 2016

This is great, can we add a tests and a test matrix to make sure it works with the supported version of Django?

We probably want to make it explicit on the README too.

@PetrDlouhy PetrDlouhy force-pushed the master branch 4 times, most recently from 527e533 to 618ecb0 Compare March 18, 2016 10:14
@PetrDlouhy
Copy link
Contributor Author

Now it comes with the Travist testing and Coveralls coverage reports. You will have to enable it for the main repository.

@Natim
Copy link
Collaborator

Natim commented Mar 18, 2016

Apparently as this repositiory is not in an org, I cannot do it myself. @jojax can you do it?

- pip install -q "$DJANGO_VERSION"
- python setup.py install
script:
- coverage run manage.py test --settings=settings
Copy link
Collaborator

Choose a reason for hiding this comment

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

When trying to run this locally I get a No file to run: 'manage.py' error.

Would you mind also adding a tox.ini file?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nevermind it just works:

$ coverage run manage.py test --settings=settings
Creating test database for alias 'default'...
ERROR Got error: 
    details: Description of the error by the browser javascript engine.
    user: <UNAUTHENTICATED>
..
----------------------------------------------------------------------
Ran 2 tests in 0.030s

OK
Destroying test database for alias 'default'...

@Natim
Copy link
Collaborator

Natim commented Mar 18, 2016

First of all thanks @PetrDlouhy for your work on this.

Natim added a commit that referenced this pull request Mar 18, 2016
@Natim Natim merged commit 8a88fec into jojax:master Mar 18, 2016
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.

4 participants