Fix comparasion of bytes
Fix comparasion of bytes

We use jsonutils.dump_as_bytes() to dump data, so we should expect
bytes instead of str.

Change-Id: I56a43b26711dd952cdc4519ab9de8d89fc7eaa74
Partially-Implements: blueprint astara-python3

stackforge/akanda-rug,openstack/akanda-rug,openstack/akanda-rug,stackforge/akanda-rug