def test_undefined(self):
    ' Test --undefined '
    self.assertRaises(UndefinedError, self._testme, ['resources/name.j2'], u'Hello !\n', env=dict())
    self._testme(['--undefined', 'resources/name.j2'], u'Hello !\n', env=dict())
Test --undefined
def test_undefined(self):
    '  '
    self.assertRaises(UndefinedError, self._testme, ['resources/name.j2'], u'Hello !\n', env=dict())
    self._testme(['--undefined', 'resources/name.j2'], u'Hello !\n', env=dict())