Skip to content

Commit

Permalink
pytest syntax (again, oops...)
Browse files Browse the repository at this point in the history
  • Loading branch information
alaniwi committed Nov 3, 2021
1 parent 48bb2c8 commit 3cd87f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_distrib_with_cache_with_all_facets(self):
self._test_distrib(constraints=self._distrib_constraints_all_facets,
cache=self.cache)

@pytest.mark.xfail("may sometimes fail if server returns incomplete set of results")
@pytest.mark.xfail(reason="may sometimes fail if server returns incomplete set of results")
def test_constrain(self):
conn = SearchConnection(self.test_service, cache=self.cache)

Expand Down Expand Up @@ -187,7 +187,7 @@ def test_constrain_regression1(self):
context2 = context.constrain(experiment='historical')
self.assertTrue('experiment' in context2.facet_constraints)

@pytest.mark.xfail("may sometimes fail if server returns incomplete set of results")
@pytest.mark.xfail(reason="may sometimes fail if server returns incomplete set of results")
def test_negative_facet(self):
conn = SearchConnection(self.test_service, cache=self.cache)

Expand Down

0 comments on commit 3cd87f8

Please sign in to comment.