| Conditions | 2 |
| Total Lines | 6 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """ |
||
| 12 | def testSmile(self): |
||
| 13 | """Test that marvin can smile""" |
||
| 14 | with mock.patch("irc2phpbb.marvin_actions.random") as r: |
||
| 15 | r.randint.return_value = 1 |
||
| 16 | self.assertStringsOutput(marvin_actions.marvinSmile, "le lite?", "smile", 1) |
||
| 17 | self.assertActionSilent(marvin_actions.marvinSmile, "sur idag?") |
||
| 18 |