Skip to content

Commit

Permalink
fixup: using new test-harness
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Schrottner <simon.schrottner@dynatrace.com>
  • Loading branch information
aepfli committed Dec 2, 2024
1 parent 266d2f1 commit 910c75d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 193 deletions.
189 changes: 0 additions & 189 deletions providers/openfeature-provider-flagd/tests/e2e/config.feature

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class FlagdContainer(DockerContainer):
def __init__(
self,
image: str = "ghcr.io/open-feature/flagd-testbed:v0.5.13",
image: str = "ghcr.io/open-feature/flagd-testbed:v0.5.14",
port: int = 8013,
**kwargs,
) -> None:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import pytest
from asserts import assert_equal
from pytest_bdd import parsers, scenarios, then, when
from tests.e2e.conftest import TEST_HARNESS_PATH

from openfeature.contrib.provider.flagd.config import CacheType, Config, ResolverType

Expand Down Expand Up @@ -97,4 +98,6 @@ def check_option_value(option, value, type_info, config):


if sys.version_info >= (3, 9):
scenarios("./config.feature")
scenarios(
f"{TEST_HARNESS_PATH}/gherkin/config.feature",
)
2 changes: 1 addition & 1 deletion providers/openfeature-provider-flagd/tests/e2e/test_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ def image():
f"{TEST_HARNESS_PATH}/gherkin/flagd.feature",
f"{TEST_HARNESS_PATH}/gherkin/flagd-json-evaluator.feature",
f"{SPEC_PATH}/specification/assets/gherkin/evaluation.feature",
"./rpc_cache.feature",
f"{TEST_HARNESS_PATH}/gherkin/flagd-rpc-caching.feature",
)

0 comments on commit 910c75d

Please sign in to comment.