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

Geomfields Reorg for Issue #28 #29

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

ranchodeluxe
Copy link
Collaborator

Alec,
I tested this out by spinning up a virtual server without PostGIS ( or dependencies ) and without psycopg2 installed. Running python example/manage.py test runs the normal tests without error. Please try this yourself before the merge to verify. Fix for #28

Also, give some thought about the reorganization I did. I changed things from your last commit. If you think this is not the ideal pattern, then I'm wide open to change it.

The biggest change from your last commit was that I moved geo tests from geoexample/test/test_geo_modelresource_methods_and_filters.py back into the conduit/test/ folder. They felt better there. I figured it's good to keep related tests in the same place since they are all about testing conduit. I then created two TestRunner classes in conduit/test/testrunners.py -- one runs the standard tests ( filters out the geo related ones ) and the other only runs the geo tests. These test runners were added to each app's settting file.

If you think it's better to leave out the test runners in favor of splitting tests up between apps, then I can do that.

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