qubes-installer-qubes-os/anaconda/tests/logpicker_test/main_test.py

20 lines
471 B
Python
Raw Normal View History

#import mock
#
# Cannot be used, because main file "logpicker" doesn't have ".py"
# extension ( => logpicker cannot be imported)
#
#class LogPickerMainTest(mock.TestCase):
# def setUp(self):
# pass
#
# def injector_injectarchivator_test(self):
# import logpicker
# import log_picker.archiving as archiving
#
# ret = logpicker.Injector.injectArchivator(mock.Mock())
# self.assertEqual(ret, archiving.Bzip2Archive)