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

Commit

Permalink
Remove use of pytest-helpers-namespace (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Jul 19, 2021
1 parent 966800d commit 76defca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
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

0 comments on commit 76defca

Please sign in to comment.