I am finalizing my pull request  that implements database storage for output data from PyWPS processes. The pull request does not pass the Codacy/PR Quality Review check. I have fixed everything I could but there are some issues  I am not sure how to tackle, so I want ask you all what you think:
1) Using run and call modules that might have some security implications
Can I use those modules or do I need to replace them?
2) Using "assert" in tests
Is that ok or should I change that? If so, change to what?