Skip to content

Commit f4c3aa1

Browse files
committed
Fix
Signed-off-by: Kevin Zhang <[email protected]>
1 parent 9e894f9 commit f4c3aa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/python/tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
import pytest
2626
from _pytest.nodes import Item
2727

28+
os.environ["FEAST_USAGE"] = "False"
29+
os.environ["IS_TEST"] = "True"
2830
from feast import FeatureStore
2931
from feast.wait import wait_retry_backoff
3032
from tests.data.data_creator import create_basic_driver_dataset
@@ -218,8 +220,6 @@ def pytest_generate_tests(metafunc: pytest.Metafunc):
218220
In order for pytest to group tests together (and share environment fixture)
219221
parameter should point to the same Python object (hence, we use _config_cache dict to store those objects).
220222
"""
221-
os.environ["FEAST_USAGE"] = "False"
222-
os.environ["IS_TEST"] = "True"
223223
if "environment" in metafunc.fixturenames:
224224
markers = {m.name: m for m in metafunc.definition.own_markers}
225225
offline_stores = None

0 commit comments

Comments
 (0)