Skip to content

Commit

Permalink
Fix remaining issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Qalthos committed Feb 12, 2025
1 parent b726127 commit f505eaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/molecule/command/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def list_(
statuses = []
s = scenarios.Scenarios(
base.get_configs(args, command_args, glob_str=MOLECULE_GLOB),
[scenario_name],
None if scenario_name is None else [scenario_name],
)
for scenario in s:
statuses.extend(base.execute_subcommand(scenario.config, subcommand))
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_scenarios.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_configs_private_member( # noqa: D103
def test_scenario_name_private_member( # noqa: D103
_instance: scenarios.Scenarios, # noqa: PT019
) -> None:
assert _instance._scenario_names is None
assert _instance._scenario_names == []


def test_scenarios_private_member( # noqa: D103
Expand Down

0 comments on commit f505eaa

Please sign in to comment.