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

Drop use of pytest helpers #17

Merged
merged 1 commit into from
Jul 23, 2021
Merged
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
9 changes: 3 additions & 6 deletions molecule_containers/test/functional/test_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@
"""Functional Tests."""
import os

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.test.functional.conftest import metadata_lint_update
from molecule.util import run_command

# import change_dir_to, temp_dir
from molecule import logger

LOG = logger.get_logger(__name__)

Expand All @@ -41,8 +39,7 @@ def test_command_init_scenario(temp_dir):
metadata_lint_update(role_directory)

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