locking: Add test for downgrade without names
authorMichael Hanselmann <hansmi@google.com>
Tue, 20 Nov 2012 03:19:12 +0000 (04:19 +0100)
committerMichael Hanselmann <hansmi@google.com>
Wed, 21 Nov 2012 01:44:08 +0000 (02:44 +0100)
commit0ef4d576dc2fc077b01d727f829ebcc616eb15c9
treed538fb368101b0113205e52e824b7f211cf06945
parent39573352a5a0a1c8241a6ce438b00b112224bb24
locking: Add test for downgrade without names

Until now there was no test for calling “LockSet.downgrade” without
specifying any names.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
test/ganeti.locking_unittest.py