installable package (#9)

* turn repo into installable package (pip install -e .)

* add hatchling build packend

* call it pytest-abra

* add pytest entrypoint, so that it gets loaded automatically if installed (and pytest is run)

* make fixtures optional, so that pytest can still be used in other context

* add cli script -> you can now directly run "pytest-abra" in console

Reviewed-on: local-it-infrastructure/e2e_tests#9
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
This commit is contained in:
Daniel 2023-12-07 11:32:01 +01:00 committed by dan
parent 4c5a470a70
commit 8685688698
33 changed files with 294 additions and 210 deletions

View file

@ -2,8 +2,8 @@ from pathlib import Path
import pytest
from abratest.coordinator import Coordinator
from abratest.env_manager import DependencyRule, EnvFile, EnvManager
from pytest_abra.coordinator import Coordinator
from pytest_abra.env_manager import DependencyRule, EnvFile, EnvManager
RECIPES_DIR = Path("./recipes").resolve()
RUNNER_DICT = Coordinator.create_runner_dict(RECIPES_DIR)

View file

@ -1,4 +1,4 @@
from abratest.utils import BaseUrl
from pytest_abra.utils import BaseUrl
url_input = {
"netloc": "blog.dev.local-it.cloud",