Bläddra i källkod

minor fix: wrong assignment (#23103)

tags/1.7.2
NeatGuyCoding 3 månader sedan
förälder
incheckning
ae28ca0b8d
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      api/tests/unit_tests/core/ops/test_config_entity.py

+ 1
- 1
api/tests/unit_tests/core/ops/test_config_entity.py Visa fil

assert config.host == "https://custom.langfuse.com" assert config.host == "https://custom.langfuse.com"


def test_valid_config_with_path(self): def test_valid_config_with_path(self):
host = host = "https://custom.langfuse.com/api/v1"
host = "https://custom.langfuse.com/api/v1"
config = LangfuseConfig(public_key="public_key", secret_key="secret_key", host=host) config = LangfuseConfig(public_key="public_key", secret_key="secret_key", host=host)
assert config.public_key == "public_key" assert config.public_key == "public_key"
assert config.secret_key == "secret_key" assert config.secret_key == "secret_key"

Laddar…
Avbryt
Spara