'A successful call to get_subscribers returns the list of subscribers in
the form:
{"msg": "",
"result": "success",
"subscribers": [self.example_email("hamlet"), self.example_email("prospero")]}'

def check_well_formed_result(self, result, stream_name, realm):

    self.assertIn('subscribers', result)
    self.assertIsInstance(result['subscribers'], list)
    true_subscribers = [user_profile.email for user_profile in self.users_subscribed_to_stream(stream_name, realm)]
    self.assertEqual(sorted(result['subscribers']), sorted(true_subscribers))
