| Total Complexity | 1 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | """ |
||
| 2 | Tests for the Marvin Source action |
||
| 3 | """ |
||
| 4 | |||
| 5 | from test_action import ActionTest |
||
| 6 | from irc2phpbb import marvin_actions |
||
| 7 | |||
| 8 | class SourceTest(ActionTest): |
||
| 9 | """Tests for the Marvin Source action""" |
||
| 10 | def testSource(self): |
||
| 11 | """Test that marvin responds to questions about source code""" |
||
| 12 | self.assertStringsOutput(marvin_actions.marvinSource, "source", "source") |
||
| 13 | self.assertStringsOutput(marvin_actions.marvinSource, "källkod", "source") |
||
| 14 | self.assertActionSilent(marvin_actions.marvinSource, "opensource") |
||
| 15 |