def test_empty_locale_html():
 s = helpers.locale_html(None)
 assert (not s), 'locale_html on None must be empty.'

def test_empty_locale_html ( ) : s = helpers . locale_html ( None ) assert ( not s ) , 'locale_html on None must be empty.'
locale_html must still work if field is none .