Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | #!/usr/bin/env python3 |
||
2 | # -*- coding: utf-8 -*- |
||
3 | |||
4 | """Module documentation goes here.""" |
||
5 | |||
6 | |||
7 | import logging |
||
8 | import unittest |
||
9 | |||
10 | |||
11 | class TestMailboxAbstract(unittest.TestCase): |
||
12 | """Class documentation goes here.""" |
||
13 | # pylint: disable=R0801 |
||
14 | class _Namespace: # pylint: disable=R0903, R0801 |
||
15 | """Helper class for arguments.""" |
||
16 | |||
17 | def __init__(self, **kwargs): |
||
18 | self.__dict__.update(kwargs) |
||
19 | |||
20 | def setUp(self): |
||
21 | logging.basicConfig(level=logging.DEBUG) |
||
22 | self.args = self._Namespace(server='unknown.localhost', |
||
23 | max_size=20, |
||
24 | skip_download=False, |
||
25 | detach=False, |
||
26 | target='/tmp/mailbox_cleaner', |
||
27 | upload='tests', |
||
28 | folder='tests', |
||
29 | reset_cache=True) |
||
30 |