import pytest

from pytest_bdd import scenario
from pytest_bdd import when

from utils.helper import run_make_shell


@pytest.fixture
def pytestbdd_strict_gherkin():
    return False


@pytest.mark.run(order=50)
@scenario('features/installation.feature', 'Run install and re-install')
def test_installation(inventory_tagging):
    pass


@when("I run 'make shell'")
def make_shells_step():
    make_process = run_make_shell()
    assert make_process.returncode == 0

import pytest

from pytest_bdd import scenario
from pytest_bdd import when

from utils.helper import run_make_shell


@pytest.fixture
def pytestbdd_strict_gherkin():
    return False


@pytest.mark.run(order=50)
@scenario('features/installation.feature', 'Run install and re-install')
def test_installation(inventory_tagging):
    pass


@when("I run 'make shell'")
def make_shells_step():
    make_process = run_make_shell()
    assert make_process.returncode == 0
