def get_post_body(self):
    if self.post_body:
      return simplejson.dumps(self.post_body)
    return None
Test sending publish request without items.
dataset/ETHPy150Open CollabQ/CollabQ/vendor/opensocial/http.py/Request.get_post_body--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_pubsub.py/PubSubClientTest.test_publishNoItems