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

Commit

Permalink
Drop use of pytest helpers (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored Jul 23, 2021
1 parent 2ae9dd9 commit d45e46b
Showing 1 changed file with 3 additions and 6 deletions.
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

0 comments on commit d45e46b

Please sign in to comment.