Skip to content

Commit 394d3d6

Browse files
Bumped pytest (#2189)
Co-authored-by: tracyboehrer <[email protected]>
1 parent 3a55f8a commit 394d3d6

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

libraries/botbuilder-core/tests/teams/test_teams_activity_handler.py

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55

66
from typing import List
77
import aiounittest
8+
import sys
9+
import os
10+
11+
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "..")))
812
from botbuilder.core import BotAdapter, TurnContext
913
from botbuilder.core.teams import TeamsActivityHandler
1014
from botbuilder.schema import (

libraries/botbuilder-dialogs/tests/choices/test_choice_recognizers.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,9 @@ def assert_choice(result, value, index, score, synonym=None):
5757
resolution.score == score
5858
), f"Invalid resolution.score of '{resolution.score}' for '{value}' choice."
5959
if synonym:
60-
assert ( # pylint: disable=assert-on-tuple
61-
resolution.synonym == synonym,
62-
f"Invalid resolution.synonym of '{resolution.synonym}' for '{value}' choice.",
63-
)
60+
assert (
61+
resolution.synonym == synonym
62+
), f"Invalid resolution.synonym of '{resolution.synonym}' for '{value}' choice."
6463

6564

6665
_color_choices: List[str] = ["red", "green", "blue"]

libraries/botbuilder-testing/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"botbuilder-core==4.17.0",
1010
"botbuilder-dialogs==4.17.0",
1111
"botbuilder-azure==4.17.0",
12-
"pytest~=7.3.1",
12+
"pytest~=8.3.3",
1313
]
1414

1515
TESTS_REQUIRES = ["aiounittest==1.3.0"]
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
pytest-cov>=2.6.0
2-
pytest~=7.3.1
1+
pytest-cov>=5.0.0
2+
pytest~=8.3.3
33
pyyaml==6.0.1
4-
pytest-asyncio==0.23.8
4+
pytest-asyncio==0.24.0
55
ddt==1.2.1
66
setuptools==72.1.0

0 commit comments

Comments
 (0)