Code review comment for lp:~cerberus/nova/nova_notifications

Revision history for this message
Matt Dietz (cerberus) wrote :

Chris: that actually doesn't work because of the way Python handles scoping in assignments. Your way would create variables scope local to the mock method only, so there would be no way of checking them later in the test.

Josh: Spacing changes made.

« Back to merge proposal