Mark the public/private validate and compute tests as xfails

This commit is contained in:
Dave Pearson
2023-05-25 15:27:27 +01:00
parent bd6717f3d5
commit fa47d0bd41

View File

@@ -415,6 +415,7 @@ async def test_public_and_private_watch() -> None:
assert calls["public"] is True assert calls["public"] is True
@pytest.mark.xfail(reason="https://github.com/Textualize/textual/issues/2539")
async def test_public_and_private_validate() -> None: async def test_public_and_private_validate() -> None:
"""If a reactive/var has public and private validate both should get called.""" """If a reactive/var has public and private validate both should get called."""
@@ -437,6 +438,7 @@ async def test_public_and_private_validate() -> None:
assert calls["public"] is True assert calls["public"] is True
@pytest.mark.xfail(reason="https://github.com/Textualize/textual/issues/2539")
async def test_public_and_private_compute() -> None: async def test_public_and_private_compute() -> None:
"""If a reactive/var has public and private compute both should get called.""" """If a reactive/var has public and private compute both should get called."""