Recommendations for integrating argparse scripts in Python's unit tests via nose or pytest -


my recent project consists of api have written unit tests pytest , nose.

i have scripts in bundle make use of api , wondering if there way include them in unit tests.

there subprocess.call way, think rather ugly. have recommendations how can integrate scripts?


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -