mirror of https://github.com/hwchase17/langchain
pytest experiments
parent
1af7133828
commit
ffa7e76eca
@ -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}"
|
@ -0,0 +1,7 @@
|
||||
from ._helper import *
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def my_fixture():
|
||||
return 1
|
@ -0,0 +1,12 @@
|
||||
from ._helper import *
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def my_fixture():
|
||||
return 2
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def my_second_fixture():
|
||||
return 3
|
Loading…
Reference in New Issue