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

Investigate mock for better unit tests #114

Open
gdevenyi opened this issue Jun 18, 2016 · 2 comments
Open

Investigate mock for better unit tests #114

gdevenyi opened this issue Jun 18, 2016 · 2 comments

Comments

@gdevenyi
Copy link
Member

http://slviki.com/index.php/2016/06/18/introduction-to-mocking-in-python/

@gdevenyi
Copy link
Member Author

Related to #121

@pipitone
Copy link
Collaborator

Given @dcoynel's pain in getting slurm going (see #140), and given that our tests don't actually depend on any of the scheduling systems to be installed right now (since we never schedule any jobs in our tests), perhaps one concrete thing we can do is mock the scheduler system commands (see testpath, for instance).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants