old_contents: from popolo.organization import PopoloOrganization
  from validictory import ValidationError
  
  
  def test_basic_invalid_organization():
      """ Make sure we can make an invalid orga """
      orga = PopoloOrganization("guid", "name")
      orga.validate()
  
      orga['name'] = None
      try:
          assert "Garbage test compare" == orga.validate()
      except ValidationError:
          pass
  
  
  def test_add_post():
      """ Test that we can hack posts in on the fly'"""
      orga = PopoloOrganization("guid", "name")
      orga.validate()
  
      orga.add_post("pguid", "Human Readable Name", "Chef")
  
      try:
          assert ("This shouldn't return" == orga.add_post(
              None, "Human Readable Name", "Chef"))
      except ValidationError:
          pass
  
new_contents: from popolo.organization import PopoloOrganization
  from validictory import ValidationError
  
  
  def test_basic_invalid_organization():
      """ Make sure we can make an invalid orga """
      orga = PopoloOrganization("guid", "name")
      orga.validate()
  
      orga['name'] = None
      try:
          assert "Garbage test compare" == orga.validate()
      except ValidationError:
          pass
  
  
  def test_add_post():
      """ Test that we can hack posts in on the fly'"""
      orga = PopoloOrganization("guid", "name")
      orga.validate()
  
      orga.add_post("pguid", "Human Readable Name", "Chef")
  
      try:
          assert ("This shouldn't return" == orga.add_post(
              None, "Human Readable Name", "Chef"))
      except ValidationError:
          pass
  
      assert orga['posts'] == [
          {"organization_id": "guid",
           "id": "pguid",
           "role": "Chef",
           "label": "Human Readable Name",
          }
      ]
  
subject: add in ack on posts