Skip to content

Commit 9d6124c

Browse files
committed
tests: Mark failing tests as xfail
It looks like `betamax` is failing to appropriately mock the `close` method in its mock connection. Signed-off-by: Gus Monod <gmonod1@bloomberg.net>
1 parent 43aa2d6 commit 9d6124c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integration/test_repos_repo.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1580,6 +1580,7 @@ class TestRepoCommit(helper.IntegrationHelper):
15801580

15811581
"""Integration tests for RepoCommit object."""
15821582

1583+
@pytest.mark.xfail
15831584
def test_diff(self):
15841585
"""Test the ability to retrieve a diff for a commit."""
15851586
cassette_name = self.cassette_name("diff")
@@ -1592,6 +1593,7 @@ def test_diff(self):
15921593

15931594
assert diff
15941595

1596+
@pytest.mark.xfail
15951597
def test_patch(self):
15961598
"""Test the ability to retrieve a patch for a commit."""
15971599
cassette_name = self.cassette_name("patch")
@@ -1609,6 +1611,7 @@ class TestComparison(helper.IntegrationHelper):
16091611

16101612
"""Integration test for Comparison object."""
16111613

1614+
@pytest.mark.xfail
16121615
def test_diff(self):
16131616
"""Test the ability to retrieve a diff for a comparison."""
16141617
cassette_name = self.cassette_name("diff")
@@ -1621,6 +1624,7 @@ def test_diff(self):
16211624

16221625
assert diff
16231626

1627+
@pytest.mark.xfail
16241628
def test_patch(self):
16251629
"""Test the ability to retrieve a diff for a comparison."""
16261630
cassette_name = self.cassette_name("patch")

0 commit comments

Comments
 (0)