ODM2 / ODM2PythonAPI

A set of Python functions that provides data read/write access to an ODM2 database by leveraging SQLAlchemy.
http://odm2.github.io/ODM2PythonAPI/
BSD 3-Clause "New" or "Revised" License
4 stars 13 forks source link

Update tests to remove deprecated use of ODM2 module hierarchy #168

Closed emiliom closed 5 years ago

emiliom commented 5 years ago

Doing this would make the output of the tests (eg, "warnings summary" on TravisCI, such as this one) much less cluttered and easier to digest.

Plus, we have to move away from that deprecated module hierarchy anyway. Better sooner than later.

Example of current warning output:

/tmp/tests/test_SessionFactory.py:3: FutureWarning: 
The module odm2api.ODM2.models will be deprecated. 
Please use odm2api.models instead.
  from odm2api.ODM2.models import CVElevationDatum, setSchema
emiliom commented 5 years ago

PR #170 started to address this. More changes are needed

emiliom commented 5 years ago

Completed by PR #171