weso / CWR-DataApi

CWR-DataApi
MIT License
34 stars 29 forks source link

Add parser tests with real files #119

Open Bernardo-MG opened 9 years ago

Bernardo-MG commented 9 years ago

The file parser should be tested using real files. It should be noted that there are compatibility problems depending on the Python version being used, related to the way Python 2 and 3 handle codifications.

This codification problem should be solved in some way to prepare these tests. At the time of writing, the file parser will just expect the file contents, so applying the correct codification will depend on the user.