Skip to content

Commit

Permalink
Changed names of some pytest fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
eschrom committed Jan 28, 2025
1 parent 0eaf8d4 commit ad2584b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_linear_incident_uptake_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def params():


@pytest.fixture
def mcmc():
def mcmc_params():
"""
Mock set of mcmc control parameters.
"""
Expand Down Expand Up @@ -115,14 +115,14 @@ def test_extract_standards(frame):
assert output == correct


def test_fit(frame, params, mcmc):
def test_fit(frame, params, mcmc_params):
"""
Model should produce posterior samples for each parameter.
"""

data = iup.IncidentUptakeData(frame)
model = iup.models.LinearIncidentUptakeModel(0).fit(
data, ["geography"], params, mcmc
data, ["geography"], params, mcmc_params
)

dimensions = [value.shape[0] for key, value in model.mcmc.get_samples().items()]
Expand Down

0 comments on commit ad2584b

Please sign in to comment.