tests: Lockspace and resource names should be read as bytes
This patch is preparation for python 3 porting. No regression for tests
under python 2 which is agnostic to strings/bytes.
Signed-off-by: Amit Bawer <abawer@redhat.com>
Signed-off-by: Amit Bawer <abawer.com@gmail.com>