mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 16:58:46 -03:30
Convert skip tests to xfail (#15511)
This commit is contained in:
@@ -36,7 +36,7 @@ def test_bootstrap_consistent():
|
|||||||
assert not different_requirements
|
assert not different_requirements
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip(reason="This test needs some love")
|
@pytest.mark.xfail(reason="This test needs some love")
|
||||||
def test_env_matches_requirements_txt():
|
def test_env_matches_requirements_txt():
|
||||||
from pip.operations import freeze
|
from pip.operations import freeze
|
||||||
|
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ class TestWebsocketEventConsumer:
|
|||||||
connected, _ = await server.connect()
|
connected, _ = await server.connect()
|
||||||
assert connected is False, "Anonymous user should NOT be allowed to login."
|
assert connected is False, "Anonymous user should NOT be allowed to login."
|
||||||
|
|
||||||
@pytest.mark.skip(reason="Ran out of coding time.")
|
@pytest.mark.xfail(reason="Ran out of coding time.")
|
||||||
async def test_authorized(self, websocket_server_generator, application, admin):
|
async def test_authorized(self, websocket_server_generator, application, admin):
|
||||||
server = websocket_server_generator('/websocket/')
|
server = websocket_server_generator('/websocket/')
|
||||||
|
|
||||||
|
|||||||
@@ -561,7 +561,7 @@ class TestBFSNodesToRun:
|
|||||||
assert set([nodes[1], nodes[2]]) == set(g.bfs_nodes_to_run())
|
assert set([nodes[1], nodes[2]]) == set(g.bfs_nodes_to_run())
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip(reason="Run manually to re-generate doc images")
|
@pytest.mark.xfail(reason="Run manually to re-generate doc images")
|
||||||
class TestDocsExample:
|
class TestDocsExample:
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def complex_dag(self, wf_node_generator):
|
def complex_dag(self, wf_node_generator):
|
||||||
|
|||||||
Reference in New Issue
Block a user