Fix CVP rabbitmq sanity check

The new rabbitmq version has different output of rabbitmqctl.
Since this test magically rely on count of "rabbit@" entries in the
rabbitmqctl output it fails when it comes to the new output format.
This commit changes the logic to more compatible one and also
makes the code PEP8-compliant.

Closes-Bug: PROD-35148
Change-Id: Id038e34d0f3dbe5e587b431393e3d92ef2a0ebbd
1 file changed
tree: 2ae7d2f67d6e857e13e86797bef4c3553704f583
  1. bin/
  2. docs/
  3. test_set/
  4. .gitignore
  5. Dockerfile
  6. LICENSE