Use assertTrue/False instead of assertEqual(T/F)
Use assertTrue/False instead of assertEqual(T/F)

The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).

Change-Id: I978e6c171c2a9adeb0f9b8edb15ce81c4d7c4c7d
Closes-Bug:#1512207

openstack/oslo.cache,openstack/oslo.cache