Add tests for CanRead
authorMichele Tartara <mtartara@google.com>
Wed, 10 Jul 2013 11:32:46 +0000 (11:32 +0000)
committerMichele Tartara <mtartara@google.com>
Wed, 10 Jul 2013 13:44:22 +0000 (13:44 +0000)
commit335c14dc934643f5fb148bbceeb822f83d933d25
tree3c6cca70021604041e7550764d047e3693ba8584
parentf9649b3db56b4738047ae98c66d6fa0ff7ea60f4
Add tests for CanRead

Verify that the CanRead function is actually able to check whether a file has
the proper permissions.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
test/py/ganeti.utils.io_unittest-runasroot.py