diff options
author | Matěj Cepl <mcepl@redhat.com> | 2012-02-27 18:54:37 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2012-02-27 18:54:37 +0100 |
commit | d9f2aa1f9d1066a168700c4e356db4f26772468a (patch) | |
tree | afe42448063640b6b822e95c032fd649a6be353d /test/__init__.py | |
parent | a9adb2cae3d62d95a1fdc57d7137dca5e5b9ada9 (diff) | |
download | yamlish-d9f2aa1f9d1066a168700c4e356db4f26772468a.tar.gz |
Temporary commit to make files available
Diffstat (limited to 'test/__init__.py')
-rw-r--r-- | test/__init__.py | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/test/__init__.py b/test/__init__.py index cb37281..b66ce57 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -5,7 +5,7 @@ from test import test_reader, test_input import yamlish import unittest import yaml -logging.basicConfig(level=logging.DEBUG) +logging.basicConfig(level=logging.INFO) def _generate_test_name(source): """ @@ -55,14 +55,3 @@ def generate_testsuite(test_data, test_case_shell, test_fce): test_method = _create_test (in_test, test_fce) test_method.__name__ = str('test_%s' % name) # IGNORE:W0622 setattr (test_case_shell, test_method.__name__, test_method) - -class TestInput(unittest.TestCase): # IGNORE:C0111 - pass - -class TestReader(unittest.TestCase): # IGNORE:C0111 - pass - -if __name__ == "__main__": - generate_testsuite(test_reader.test_data_list, TestReader, yamlish.load) - generate_testsuite(test_input.test_data_list, TestInput, yamlish.load) - unittest.main() |