Skip to content

Commit 5859468

Browse files
MatInGitMatInGit
authored andcommitted
fixed testing
1 parent 0458569 commit 5859468

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_builder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ def env_config(env_config):
2929
data = json.load(stream)
3030
for key, value in data.items():
3131
os.environ[key] = value
32-
os.environ['MLFLOW_MODE'] = True
3332
except Exception as e:
3433
logging.error(f'Error setting environment variables: {e}')
35-
os.environ['MLFLOW_MODE'] = False
3634

35+
ENV_LOADED = env_config('./tests/env.json')
3736

3837
def test_build(caplog, make_builder):
3938
# caplog.set_level(logging.DEBUG)

0 commit comments

Comments
 (0)