Update settings attributes and remove config.yaml references (#1975)

* chore: update settings attributes and remove config.yaml references

* Remove config.yaml references and update settings attributes
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-05-26 07:24:21 -07:00 committed by GitHub
commit e23544a1b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 83 additions and 116 deletions

View file

@ -2,7 +2,6 @@ from pathlib import Path
from tempfile import tempdir
import pytest
from langflow.__main__ import app
from langflow.services import deps
@ -29,7 +28,7 @@ def test_components_path(runner, client, default_settings):
)
assert result.exit_code == 0, result.stdout
settings_service = deps.get_settings_service()
assert str(temp_dir) in settings_service.settings.COMPONENTS_PATH
assert str(temp_dir) in settings_service.settings.components_path
def test_superuser(runner, client, session):