def test_ini(self):
    self._testme_std(['resources/nginx.j2', 'resources/data.ini'])
    self._testme_std(['--format=ini', 'resources/nginx.j2', 'resources/data.ini'])
    self._testme_std(['--format=ini', 'resources/nginx.j2'], stdin=open('resources/data.ini'))
    self._testme_std(['--format=ini', 'resources/nginx.j2', '-'], stdin=open('resources/data.ini'))
def test_ini(self):
    self._testme_std(['resources/nginx.j2', 'resources/data.ini'])
    self._testme_std(['--format=ini', 'resources/nginx.j2', 'resources/data.ini'])
    self._testme_std(['--format=ini', 'resources/nginx.j2'], stdin=open('resources/data.ini'))
    self._testme_std(['--format=ini', 'resources/nginx.j2', '-'], stdin=open('resources/data.ini'))