Conditions | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
1 | import unittest |
||
13 | def test_check(self): |
||
14 | rst = saruman.tasks.kernel.modprobe.Check().apply(args=('dummy',)).get() |
||
15 | assert isinstance(rst, bool) and rst is not None, "%r doesnt return a boolean or return None" % rst |
||
16 | |||
17 | def test_add(self): |
||
18 | rst = saruman.tasks.kernel.modprobe.Add().apply(args=('dummy',)).get() |
||
19 | assert rst is None, "%r doesnt return None" % rst |
||
20 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.