Tests won't work out of the box because they are expecting a setup of self.phantom in the test. Probably need to add some documentation to set that up, because many of these tests are integration ones as they need to connect to a running SOAR instance.
Line 27 : There is use of open() outside of a "with" block which raises warnings of the type "ResourceWarning: unclosed file"
Line 71 : of test_PhantomClient.py: soarsdk.Exceptions.ContainerNotInitialized should be soarsdk.exceptions
Line 252 : test_modify_container_label needs to set self.container.id to something
The following two functions are missing from PhantomClient:
- There is an error with 'PhantomClient' object has no attribute 'get_cronjob_count'
- There is an error with 'PhantomClient' object has no attribute 'get_playbook_count'
The following function is missing from PhantomClientTests
- There is an error with 'PhantomClientTests' object has no attribute 'get_sample_playbook'
Tests won't work out of the box because they are expecting a setup of
self.phantomin the test. Probably need to add some documentation to set that up, because many of these tests are integration ones as they need to connect to a running SOAR instance.Line 27 : There is use of open() outside of a "with" block which raises warnings of the type "ResourceWarning: unclosed file"
Line 71 : of test_PhantomClient.py: soarsdk.Exceptions.ContainerNotInitialized should be soarsdk.exceptions
Line 252 : test_modify_container_label needs to set self.container.id to something
The following two functions are missing from PhantomClient:
The following function is missing from PhantomClientTests