Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanhphan1147 committed Jan 5, 2024
1 parent 824bbef commit 6391d05
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,13 @@ def model_fixture(ops_test: OpsTest) -> Model:
return ops_test.model


@pytest.mark.parametrize(
"series",
[
pytest.param("focal"),
pytest.param("jammy"),
],
)
@pytest_asyncio.fixture(scope="module", name="jenkins_agent_application")
@pytest_asyncio.fixture(scope="module", name="jenkins_agent_application", params=["focal", "jammy"])
async def application_fixture(
model: Model, charm: str, series: str
model: Model, charm: str, request
) -> typing.AsyncGenerator[Application, None]:
"""Build and deploy the charm."""
# Deploy the charm and wait for blocked status
application = await model.deploy(charm, num_units=NUM_AGENT_UNITS, series=series)
application = await model.deploy(charm, num_units=NUM_AGENT_UNITS, series=request.param)
await model.wait_for_idle(apps=[application.name], status=ops.BlockedStatus.name)

yield application
Expand Down

0 comments on commit 6391d05

Please sign in to comment.