mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-04 11:25:11 +00:00
pytest experiments
This commit is contained in:
13
libs/partners/mistralai/tests/unit_tests/_helper.py
Normal file
13
libs/partners/mistralai/tests/unit_tests/_helper.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from typing import Optional
|
||||
|
||||
|
||||
def test_a(my_fixture: int) -> None:
|
||||
assert False, f"test_a {my_fixture}"
|
||||
|
||||
|
||||
def test_b(my_fixture: int) -> None:
|
||||
assert False, f"test_b {my_fixture}"
|
||||
|
||||
|
||||
def test_c(my_second_fixture: Optional[int]) -> None:
|
||||
assert False, f"test_c {my_second_fixture}"
|
||||
7
libs/partners/mistralai/tests/unit_tests/test_one.py
Normal file
7
libs/partners/mistralai/tests/unit_tests/test_one.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from ._helper import *
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def my_fixture():
|
||||
return 1
|
||||
12
libs/partners/mistralai/tests/unit_tests/test_two.py
Normal file
12
libs/partners/mistralai/tests/unit_tests/test_two.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from ._helper import *
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def my_fixture():
|
||||
return 2
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def my_second_fixture():
|
||||
return 3
|
||||
Reference in New Issue
Block a user