Skip to content

Commit 9386072

Browse files
ADD. adding ogmios specific integration tests
1 parent ac95e68 commit 9386072

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

integration-test/test/test_ogmios.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
from retry import retry
2+
import pytest
3+
4+
from .base import TEST_RETRIES, TestBase
5+
6+
7+
@pytest.mark.single
8+
class TestProtocolParam(TestBase):
9+
@retry(tries=TEST_RETRIES, backoff=1.5, delay=6, jitter=(0, 4))
10+
def test_protocol_param_cost_models(self):
11+
protocol_param = self.chain_context.protocol_param
12+
13+
cost_models = protocol_param.cost_models
14+
for _, cost_model in cost_models.items():
15+
assert "addInteger-cpu-arguments-intercept" in cost_model
16+
assert "addInteger-cpu-arguments-slope" in cost_model

0 commit comments

Comments
 (0)