@staticmethod
  def _UriPatternToString(value):
    if isinstance(value, rapi.connector.UriPattern):
      return value.content
    else:
      return value
Asserts that a form field behaves correctly with various inputs.
dataset/ETHPy150Open ganeti/ganeti/lib/build/sphinx_ext.py/_RapiHandlersForDocsHelper._UriPatternToString--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/test/testcases.py/SimpleTestCase.assertFieldOutput