Closed xtof2all closed 4 years ago
Hi, it looks like you've changed the permissions on test.sh from 755 to 644, making it unexecutable by Travis. Could you please fix and force push? Thanks!
Strangely, the test fail, while they were okay locally. It seems to be a problem with the encoding as I'm testing for accented characters in the translation. I will first test with by specify encoding as described in [https://www.python.org/dev/peps/pep-0263/]. If this does not work, I will eliminate the accents in the tests.
@coveralls It seems that the tests for the python2.7 were failing. Finally, I could solve it by explicitly setting the literals in test_solutions.py to be unicode.
@coveralls It seems that the tests for the python2.7 were failing. Finally, I could solve it by explicitly setting the literals in test_solutions.py to be unicode.
I'm wondering if a better solution is to keep them as string literals (no u
prefix), but add this to the top:
from __future__ import unicode_literals
Do you want to try that?
@sjkingo Good idea! I have adapted the code such that it uses the future package for the test_solutions.py
Can you verify whether the approach with the unicode_literal from the future package the correct one?
Thanks, this looks great! I'll release on pypi later today.
Adding the feature the get solution categories, solution folders and articles. It is also possible to retrieve them in another language. For now, this is only the list/get operation.
I have directly added some test cases as well