-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add test for osp start_scan() #23
Conversation
Do not add this element if it is empty, since it is not mandatory for OSP, but it must not be empty if it is added.
Codecov Report
@@ Coverage Diff @@
## master #23 +/- ##
==========================================
+ Coverage 26.82% 29.11% +2.28%
==========================================
Files 9 9
Lines 2009 2009
==========================================
+ Hits 539 585 +46
+ Misses 1470 1424 -46
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if this works already with the current code but parallel should take an integer
|
||
self.osp.start_scan( | ||
scan_id='123-456', | ||
parallel='10', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be an int
parallel='10', | |
parallel=10, |
def test_start_scan_legacy(self): | ||
self.osp.start_scan( | ||
scan_id='123-456', | ||
parallel='10', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
parallel='10', | |
parallel=10, |
Also, fix add vt_selection element.