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

Replace use of assert_not_called in the catkin tests #200

Merged
merged 1 commit into from Jan 5, 2016

Conversation

sergiusens
Copy link
Collaborator

Mocks using assert_not_called don't take a message, to keep the message
we use assertFalse and the called attribute of the mock.

Mocks using `assert_not_called` don't take a message, to keep the message
we use `assertFalse` and the `called` attribute of the mock.
@kyrofa
Copy link
Contributor

kyrofa commented Jan 5, 2016

Thanks @sergiusens! Looks great. I'll just wait for Travis to finish.

kyrofa pushed a commit that referenced this pull request Jan 5, 2016
Replace use of `assert_not_called` in the catkin tests
@kyrofa kyrofa merged commit 9c5b834 into canonical:master Jan 5, 2016
@sergiusens sergiusens deleted the mock-assert-fix branch March 1, 2016 07:43
smoser pushed a commit to smoser/snapcraft that referenced this pull request Sep 14, 2016
Separate provision agent and guest agent
kalikiana pushed a commit to kalikiana/snapcraft that referenced this pull request Apr 6, 2017
Replace use of `assert_not_called` in the catkin tests
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

Successfully merging this pull request may close these issues.

None yet

2 participants