Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: yihuang <[email protected]>
  • Loading branch information
yihuang authored Aug 15, 2024
1 parent b20f8b8 commit 3bff57e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration_tests/cosmoscli.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,4 +370,4 @@ def query_host_params(self, i=0):
return self.cosmos_cli(i).query_host_params()

def query_params(self, mod, i=0):
return self.cosmos_cli(i).query_params(mod)
return self.cosmos_cli(i).query_params(mod)
2 changes: 1 addition & 1 deletion integration_tests/test_gov.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def test_gov_voting(cluster):
cli = cluster.cosmos_cli()

def assert_voting_period(voting_period_in_ns):
p = cli.query_gov_params()
p = cli.query_params("gov")
assert p["voting_params"]["voting_period"] == voting_period_in_ns

assert_voting_period("10000000000")

Check failure on line 262 in integration_tests/test_gov.py

View workflow job for this annotation

GitHub Actions / test-gov

test_gov_voting KeyError: 'voting_params'
Expand Down

0 comments on commit 3bff57e

Please sign in to comment.