Skip to content

Commit 5948d22

Browse files
committed
Fix unit tests.
1 parent 2e999fd commit 5948d22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/atlas_search_/test_search.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -685,10 +685,10 @@ def test_str_returns_expected_format(self):
685685
)
686686

687687

688-
@unittest.expectedFailure(
689-
"Cannot find a match for the provided reference documents in Atlas Search"
690-
)
688+
@unittest.expectedFailure
691689
class SearchMoreLikeThisTests(SearchUtilsMixin):
690+
"""Expected failure: Cannot find a matching document in search index."""
691+
692692
@classmethod
693693
def setUpClass(cls):
694694
super().setUpClass()

0 commit comments

Comments
 (0)