aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_sdc_element.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_sdc_element.py')
-rw-r--r--tests/test_sdc_element.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/test_sdc_element.py b/tests/test_sdc_element.py
index 8cfb907..88bcd8f 100644
--- a/tests/test_sdc_element.py
+++ b/tests/test_sdc_element.py
@@ -107,16 +107,3 @@ def test_exists_versions(mock_vsp_created, mock_get_all):
sdc_el2._identifier = "123"
mock_get_all.return_value = [sdc_el1, sdc_el2]
assert sdc_el1.exists()
-
-@mock.patch.object(SdcElement, "send_message")
-def test_delete(mock_send_message):
- vsp = Vsp("test_vsp")
- vsp.identifier = "test_vsp"
- vsp.delete()
- mock_send_message.assert_called_once()
-
- mock_send_message.reset_mock()
- vendor = Vendor("test_vendor")
- vendor.identifier = "test_vendor"
- vendor.delete()
- mock_send_message.assert_called_once()