Skip to content

Commit

Permalink
Make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Morendil committed Nov 13, 2018
1 parent 47fbd0c commit 5c8f4dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/web_api/test_scale_serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
from openfisca_web_api.loader.parameters import walk_node
from openfisca_core.parameters import ParameterNode, Scale


def test_amount_scale():
parameters = []
metadata = {'location':'foo', 'version':'1', 'repository_url':'foo'}
metadata = {'location': 'foo', 'version': '1', 'repository_url': 'foo'}
root_node = ParameterNode(data = {})
amount_scale_data = {'brackets':[{'amount':{'2014-01-01':{'value':0}},'threshold':{'2014-01-01':{'value':1}}}]}
amount_scale_data = {'brackets': [{'amount': {'2014-01-01': {'value': 0}},'threshold': {'2014-01-01': {'value': 1}}}]}
scale = Scale('scale', amount_scale_data, 'foo')
root_node.children['scale'] = scale
walk_node(root_node, parameters, [], metadata)
Expand Down

0 comments on commit 5c8f4dc

Please sign in to comment.