Skip to content

Commit c832e3f

Browse files
committed
test: return missing reason= param
1 parent aea9040 commit c832e3f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

examples/pytest/calculator_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
from pytest import mark, raises
33

44

5-
@mark.xfail(Model.load() == Model.AWS_ANTHROPIC, "Bedrock version of Haiku is subpar")
6-
@mark.xfail(Model.load() == Model.AWS_META, "It is too hard for Llama 3.2")
5+
@mark.xfail(Model.load() == Model.AWS_ANTHROPIC, reason="Bedrock version of Haiku is subpar")
6+
@mark.xfail(Model.load() == Model.AWS_META, reason="It is too hard for Llama 3.2")
77
def test_addition(al, driver):
88
driver.get("https://seleniumbase.io/apps/calculator")
99
al.do("1 + 1 =")

examples/pytest/drag_and_drop_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
from pytest import mark
33

44

5-
@mark.xfail(Model.load() == Model.AWS_ANTHROPIC, "Bedrock version of Haiku is subpar")
6-
@mark.xfail(Model.load() == Model.AWS_META, "https://github.com/langchain-ai/langchain-aws/issues/285")
5+
@mark.xfail(Model.load() == Model.AWS_ANTHROPIC, reason="Bedrock version of Haiku is subpar")
6+
@mark.xfail(Model.load() == Model.AWS_META, reason="https://github.com/langchain-ai/langchain-aws/issues/285")
77
def test_drag_and_drop(al, driver):
88
driver.get("https://the-internet.herokuapp.com/drag_and_drop")
99
al.check("square A is positioned to the left of square B", vision=True)

examples/pytest/select_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from pytest import mark
33

44

5-
@mark.xfail(Model.load() == Model.AWS_ANTHROPIC, "Bedrock version of Haiku is subpar")
5+
@mark.xfail(Model.load() == Model.AWS_ANTHROPIC, reason="Bedrock version of Haiku is subpar")
66
def test_select_option(al, driver):
77
driver.get("https://the-internet.herokuapp.com/dropdown")
88
al.check("no option is selected")

0 commit comments

Comments
 (0)