import pytest

from llama_index.embeddings.nvidia import NVIDIAEmbedding as Interface


@pytest.mark.integration
def test_available_models() -> None:
    models = Interface().available_models
    assert models
    assert isinstance(models, list)
    assert all(isinstance(model.id, str) for model in models)

import pytest

from llama_index.embeddings.nvidia import NVIDIAEmbedding as Interface


@pytest.mark.integration()
def test_available_models() -> None:
    models = Interface().available_models
    assert models
    assert isinstance(models, list)
    assert all(isinstance(model.id, str) for model in models)
