| Conditions | 2 |
| Total Lines | 6 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | """ |
||
| 12 | def assertSunOutput(self, expectedOutput): |
||
| 13 | """Test that marvin knows when the sun comes up, given an input file""" |
||
| 14 | response = self.createResponseFrom("sun", "sun") |
||
| 15 | with mock.patch("irc2phpbb.marvin_actions.requests") as r: |
||
| 16 | r.get.return_value = response |
||
| 17 | self.assertActionOutput(marvin_actions.marvinSun, "sol", expectedOutput) |
||
| 18 | |||
| 28 |