nasa / pyCMR

Client for CMR APIs
Apache License 2.0
24 stars 12 forks source link

Add integration tests, refactor CFG file #5

Closed mileswwatkins closed 8 years ago

mileswwatkins commented 8 years ago

@amarouane, in updating pyCMR to add integration tests, I made breaking changes to the CFG file structure.

These were necessary to expose specific pieces of information, such as which CMR host we're using, and also helped me rearrange the configuration variables into more logical homes (eg, putting the token in [credentials] and moving content-type to be shared among all requests). I was also able to refactor out some of the other values, and simplify the search URLs.