Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

Remove use of pytest-helpers-namespace #44

Merged
merged 1 commit into from
Jul 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
"""Pytest Config."""

pytest_plugins = ["helpers_namespace"]
6 changes: 2 additions & 4 deletions lib/molecule_podman/test/test_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
import subprocess

import molecule_podman
import pytest
from molecule import logger
from molecule.test.conftest import change_dir_to
from molecule.test.conftest import change_dir_to, molecule_directory
from molecule.util import run_command

LOG = logger.get_logger(__name__)
Expand All @@ -28,8 +27,7 @@ def test_command_init_scenario(temp_dir, DRIVER):
assert result.returncode == 0

with change_dir_to(role_directory):
molecule_directory = pytest.helpers.molecule_directory()
scenario_directory = os.path.join(molecule_directory, "test-scenario")
scenario_directory = os.path.join(molecule_directory(), "test-scenario")
cmd = [
"molecule",
"init",
Expand Down