qubes-installer-qubes-os/anaconda/tests/logpicker_test/main_test.py
2013-01-24 01:45:53 +01:00

20 lines
471 B
Python

#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)