-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into feat/gherkinmigration
Signed-off-by: Simon Schrottner <[email protected]>
- Loading branch information
Showing
12 changed files
with
174 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule test-harness
updated
6 files
+2 −2 | .gherkin-lintrc | |
+17 −16 | gherkin/events.feature | |
+101 −81 | gherkin/flagd-json-evaluator.feature | |
+13 −9 | gherkin/flagd-reconnect.feature | |
+54 −38 | gherkin/flagd-rpc-caching.feature | |
+21 −24 | gherkin/flagd.feature |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 11 additions & 3 deletions
14
providers/openfeature-provider-flagd/tests/e2e/in_process_file/test_flaqd.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
from e2e.conftest import SPEC_PATH | ||
import sys | ||
|
||
from pytest_bdd import scenarios | ||
from tests.e2e.conftest import TEST_HARNESS_PATH | ||
from tests.e2e.conftest import SPEC_PATH, TEST_HARNESS_PATH | ||
|
||
scenarios(f"{TEST_HARNESS_PATH}/gherkin", f"{SPEC_PATH}/specification/assets/gherkin") | ||
# as soon as we support all the features, we can actually remove this limitation to not run on Python 3.8 | ||
# Python 3.8 does not fully support tagging, hence that it will run all cases | ||
if sys.version_info >= (3, 9): | ||
scenarios( | ||
f"{TEST_HARNESS_PATH}/gherkin", f"{SPEC_PATH}/specification/assets/gherkin" | ||
) | ||
else: | ||
scenarios(f"{SPEC_PATH}/specification/assets/gherkin") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 10 additions & 1 deletion
11
providers/openfeature-provider-flagd/tests/e2e/rpc/test_flaqd.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
import sys | ||
|
||
from pytest_bdd import scenarios | ||
from tests.e2e.conftest import SPEC_PATH, TEST_HARNESS_PATH | ||
|
||
scenarios(f"{TEST_HARNESS_PATH}/gherkin", f"{SPEC_PATH}/specification/assets/gherkin") | ||
# as soon as we support all the features, we can actually remove this limitation to not run on Python 3.8 | ||
# Python 3.8 does not fully support tagging, hence that it will run all cases | ||
if sys.version_info >= (3, 9): | ||
scenarios( | ||
f"{TEST_HARNESS_PATH}/gherkin", f"{SPEC_PATH}/specification/assets/gherkin" | ||
) | ||
else: | ||
scenarios(f"{SPEC_PATH}/specification/assets/gherkin") |
Oops, something went wrong.