openfisca / openfisca-web-api

[DEPRECATED] Web API for OpenFisca
https://www.openfisca.fr/
GNU Affero General Public License v3.0
13 stars 11 forks source link

Missing reform modules #10

Closed MattiSG closed 9 years ago

MattiSG commented 9 years ago

Tests of web-api fail because of missing modules.

Steps for reproduction:

$ git clone git@github.com:openfisca/openfisca-web-api.git
$ cd openfisca-web-api
$ sudo pip install -r requirements.txt
$ make test
ERROR: test suite for <module 'openfisca_web_api.tests.test_calculate' from '/Users/sgmap/Dev/webapitest/openfisca_web_api/tests/test_calculate.py'>
[…]
ValueError: {u'revenu_de_base_enfants': u'No module named openfisca_france_reform_revenu_de_base_enfants', u'revenu_de_base_cotisations': u'No module named openfisca_france_reform_revenu_de_base_cotisations'} for: OrderedDict([(u'inversion_revenus', <function build_reform at 0x1049ac2a8>), (u'revenu_de_base_cotisations', [u'openfisca_france_reform_revenu_de_base_cotisations', u'build_reform']), (u'revenu_de_base_enfants', [u'openfisca_france_reform_revenu_de_base_enfants', u'build_reform'])])
MattiSG commented 9 years ago

This should be fixed with #18.

MattiSG commented 9 years ago

Fixed by 9717b83775886894141e205720486eb600556bac.