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 755f04c
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 237 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.15",
port: int = 8013,
**kwargs,
) -> None:
Expand Down
44 changes: 0 additions & 44 deletions providers/openfeature-provider-flagd/tests/e2e/rpc_cache.feature

This file was deleted.

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 755f04c

Please sign in to comment.