Conditions | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
1 | import unittest |
||
13 | def test(self): |
||
14 | saruman.tasks.kernel.modprobe.Add().apply(args=('dummy',)).get() |
||
15 | rst = saruman.tasks.kernel.modprobe.Check().apply(args=('dummy',)).get() |
||
16 | eq_(rst, True) |
||
17 | saruman.tasks.kernel.modprobe.Remove().apply(args=('dummy',)).get() |
||
18 | rst = saruman.tasks.kernel.modprobe.Check().apply(args=('dummy',)).get() |
||
19 | eq_(rst, False) |
||
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.