# -*- coding: UTF-8 -*- # Copyright 2014 Red Hat, Inc. # Part of clufter project # Licensed under GPLv2+ (a copy included | http://gnu.org/licenses/gpl-2.0.txt) """Testing ccs2coro filter(s)""" __author__ = "Jan Pokorný " from os.path import dirname, join from _common import CommonFilterTestCase class Main(CommonFilterTestCase): def test01(self): # using ./filled.conf testfile = join(dirname(__file__), 'filled.conf') out_obj = self.flt_mgr('ccs2flatccs', ('file', testfile)) out_obj = self.flt_mgr('ccs2needlexml', ('etree', out_obj('etree'))) #out_obj = self.flt_mgr('ccs_obfuscate_credentials', ('etree', out_obj('etree'))) #out_obj = self.flt_mgr('ccs_obfuscate_identifiers', ('etree', out_obj('etree'))) print out_obj('bytestring')