dimagi/commcare-hq — pull request #3323 by dannyroberts (2014-05-02 08:58:37+00:00)
Title: Output node text

The test (which now passes) fails on the pre-fix code:

```
======================================================================
ERROR: test_output_ref_start (corehq.apps.app_manager.tests.test_xform_parsing.ItextValueTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/droberts/dimagi/commcare-hq/corehq/apps/app_manager/tests/test_xform_parsing.py", line 63, in test_output_ref_start
'____ Test test')
File "/Users/droberts/dimagi/commcare-hq/corehq/apps/app_manager/tests/test_xform_parsing.py", line 48, in _test
escaped_itext
File "/Users/droberts/dimagi/commcare-hq/corehq/apps/app_manager/xform.py", line 215, in from_node
return cls(parts)
File "/Users/droberts/dimagi/commcare-hq/corehq/apps/app_manager/xform.py", line 195, in __new__
return super(ItextValue, cls).__new__(cls, cls._render(parts))
File "/Users/droberts/dimagi/commcare-hq/corehq/apps/app_manager/xform.py", line 225, in _render
for part in parts
TypeError: sequence item 0: expected string, NoneType found
```