20 lines
471 B
Python
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)
|
||
|
|