Skip to content

Commit

Permalink
Activating some tests after PR inclusion.
Browse files Browse the repository at this point in the history
These tests had the following reports:

"""
The Api call is returning 200 when should be 400
Issue kytos/flow_manager#134
"""
PR (No associated PR appears).

"""
The Api call is returning 200 when should be 400
Issue kytos/flow_manager#132
"""
PR kytos/flow_manager#137 closes this issue

"""
The Api call is returning 200 when should be 400
Issue kytos/flow_manager#136
"""
PR (No associated PR appears).

"""
The Api call is returning 200 when should be 400
Issue kytos/flow_manager#135
"""
PR (No associated PR appears).
  • Loading branch information
ArturoQuintana committed May 27, 2021
1 parent 4b920eb commit 35af65c
Showing 1 changed file with 0 additions and 60 deletions.
60 changes: 0 additions & 60 deletions tests/test_e2e_19_flow_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ def test_010_install_flow_on_non_existent_switch_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 404

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/134
"""
@pytest.mark.xfail
def test_015_install_flow_should_fail(self):
"""Test if the flow installation process specifying an empty
payload behaves as expected (400 Error)."""
Expand All @@ -76,11 +71,6 @@ def test_015_install_flow_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 400

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/134
"""
@pytest.mark.xfail
def test_020_install_flow_should_fail(self):
"""Test if the flow installation process specifying an empty
flow data on the payload behaves as expected (400 Error)."""
Expand All @@ -95,11 +85,6 @@ def test_020_install_flow_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 400

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/134
"""
@pytest.mark.xfail
def test_025_install_flow_should_fail(self):
"""Test if the flow installation process specifying an empty
flow data on the payload behaves as expected (400 Error)."""
Expand Down Expand Up @@ -150,11 +135,6 @@ def test_035_retrieve_flow_from_non_existent_switch_should_fail(self):
response = requests.get(api_url)
assert response.status_code == 404

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/132
"""
@pytest.mark.xfail
def test_040_install_flows_should_fail(self):
"""Test if the flow installation process specifying an empty
payload behaves as expected (400 Error)."""
Expand All @@ -166,11 +146,6 @@ def test_040_install_flows_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 400

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/132
"""
@pytest.mark.xfail
def test_045_install_flows_should_fail(self):
"""Test if the flow installation process specifying an empty
flow data on the payload behaves as expected (400 Error)."""
Expand All @@ -185,11 +160,6 @@ def test_045_install_flows_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 400

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/132
"""
@pytest.mark.xfail
def test_050_install_flows_should_fail(self):
"""Test if the flow installation process specifying an empty
flow data on the payload behaves as expected (400 Error)."""
Expand Down Expand Up @@ -258,11 +228,6 @@ def test_060_delete_flow_on_non_existent_switch_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 404

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/136
"""
@pytest.mark.xfail
def test_065_delete_flow_should_fail(self):
"""Test if the flow deletion process specifying an empty
payload behaves as expected (400 Error)."""
Expand All @@ -275,11 +240,6 @@ def test_065_delete_flow_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 400

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/136
"""
@pytest.mark.xfail
def test_070_delete_flow_should_fail(self):
"""Test if the flow deletion process specifying an empty
flow data on the payload behaves as expected (400 Error)."""
Expand All @@ -295,11 +255,6 @@ def test_070_delete_flow_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 400

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/136
"""
@pytest.mark.xfail
def test_075_delete_flow_should_fail(self):
"""Test if the flow deletion process specifying an an empty
flow data on the payload behaves as expected (400 Error)."""
Expand Down Expand Up @@ -341,11 +296,6 @@ def test_080_delete_flow_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 400

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/135
"""
@pytest.mark.xfail
def test_085_delete_flows_should_fail(self):
"""Test if the flow deletion process specifying an empty
payload behaves as expected (400 Error)."""
Expand All @@ -358,11 +308,6 @@ def test_085_delete_flows_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 400

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/135
"""
@pytest.mark.xfail
def test_090_delete_flows_should_fail(self):
"""Test if the flow deletion process specifying an empty
flow data on the payload behaves as expected (400 Error)."""
Expand All @@ -378,11 +323,6 @@ def test_090_delete_flows_should_fail(self):
headers={'Content-type': 'application/json'})
assert response.status_code == 400

"""
The Api call is returning 200 when should be 400
Issue https://github.com/kytos/flow_manager/issues/135
"""
@pytest.mark.xfail
def test_095_delete_flows_should_fail(self):
"""Test if the flow deletion process specifying an empty
flow data on the payload behaves as expected (400 Error)."""
Expand Down

0 comments on commit 35af65c

Please sign in to comment.