edmundmok / mealpy

Order your meals on MealPal automatically!
MIT License
28 stars 22 forks source link

Add tests for config #31

Closed ipwnponies closed 5 years ago

ipwnponies commented 5 years ago

I moved the config logic to a separate module and added tests.

Summary of changes, in addition to the overall goal above:

ipwnponies commented 5 years ago

@edmundmok bump, would like this change before I dive deeper into #7, as it introduces pyfakefs, which will make it easier to test caching files to disk.

edmundmok commented 5 years ago

@ipwnponies Sorry, just looked at it, was out the entire day yesterday.

ipwnponies commented 5 years ago

No worries, I put too much useful infrastructure into this PR that is helpful for follow up work.