Test Failed
Pull Request — master (#86)
by Daniel
04:59
created

test_stream   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 7
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A StreamTest.testStream() 0 4 1
1
"""
2
Tests for the Marvin Stream action
3
"""
4
5
from test_action import ActionTest
6
from irc2phpbb import marvin_actions
7
8
class StreamTest(ActionTest):
9
    """Tests for the Marvin Stream action"""
10
    def testStream(self):
11
        """Test that marvin can provide the link to the stream"""
12
        self.assertStringsOutput(marvin_actions.marvinStream, "ska mos streama?", "stream", "info")
13
        self.assertActionSilent(marvin_actions.marvinStream, "är mos en streamer?")
14