Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Jun 12, 2024
1 parent c7c82c7 commit 8d9442e
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions tests/test_macro_params.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
"""
Tests of macro_params.py module
"""

from ogzaf import macro_params


def test_get_macro_params():
test_dict = macro_params.get_macro_params()

assert isinstance(test_dict, dict)
assert list(test_dict.keys()).sort() == [
"r_gov_shift",
"r_gov_scale",
"alpha_T",
"alpha_G",
"initial_debt_ratio",
"g_y_annual",
"gamma",
"zeta_D",
"initial_foreign_debt_ratio"
].sort()
assert (
list(test_dict.keys()).sort()
== [
"r_gov_shift",
"r_gov_scale",
"alpha_T",
"alpha_G",
"initial_debt_ratio",
"g_y_annual",
"gamma",
"zeta_D",
"initial_foreign_debt_ratio",
].sort()
)

0 comments on commit 8d9442e

Please sign in to comment.