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
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Jul 23, 2021
1 parent 2ae9dd9 commit 6aa2a79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 21 deletions.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ repos:
hooks:
- id: ansible-lint
always_run: true
verbose: true
additional_dependencies:
- ansible-core
- yamllint
Expand Down
15 changes: 0 additions & 15 deletions .yamllint

This file was deleted.

9 changes: 4 additions & 5 deletions molecule_containers/test/functional/test_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
"""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

from molecule import logger

# import change_dir_to, temp_dir

LOG = logger.get_logger(__name__)
Expand All @@ -41,8 +41,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 6aa2a79

Please sign in to comment.