Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit Tests 100% for SoftLayer\CLI\block\snapshot #1954

Closed
allmightyspiff opened this issue May 18, 2023 · 0 comments · Fixed by #1970
Closed

Unit Tests 100% for SoftLayer\CLI\block\snapshot #1954

allmightyspiff opened this issue May 18, 2023 · 0 comments · Fixed by #1970
Assignees

Comments

@allmightyspiff
Copy link
Member

allmightyspiff commented May 18, 2023

Get the snapshot commands to 100% coverage.

$> pytest --cov=SoftLayer
SoftLayer\CLI\block\snapshot\__init__.py             0       0   100%
SoftLayer\CLI\block\snapshot\cancel.py               20      3    85%
SoftLayer\CLI\block\snapshot\create.py               13      0   100%
SoftLayer\CLI\block\snapshot\delete.py               11      4    64%
SoftLayer\CLI\block\snapshot\disable.py              15      1    93%
SoftLayer\CLI\block\snapshot\enable.py               30      5    83%
SoftLayer\CLI\block\snapshot\get_notify_status.py    12      0   100%
SoftLayer\CLI\block\snapshot\list.py                 22      0   100%
SoftLayer\CLI\block\snapshot\order.py                31      2    94%
SoftLayer\CLI\block\snapshot\restore.py              12      0   100%
SoftLayer\CLI\block\snapshot\schedule_list.py        32      0   100%
SoftLayer\CLI\block\snapshot\set_notify_status.py    12      4    67%

ramkishor-ch pushed a commit to ramkishor-ch/softlayer-python that referenced this issue Jun 1, 2023
Unit Tests 100% for SoftLayer\CLI\block\snapshot added unit test cases
@ramkishor-ch ramkishor-ch mentioned this issue Jun 1, 2023
@ramkishor-ch ramkishor-ch linked a pull request Jun 1, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants