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

test_uptime.UptimeTest.testUptime()   A

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nop 1
1
"""
2
Tests for the Marvin Uptime action
3
"""
4
5
from test_action import ActionTest
6
from irc2phpbb import marvin_actions
7
8
class UptimeTest(ActionTest):
9
    """Tests for the Marvin Uptime action"""
10
    def testUptime(self):
11
        """Test that marvin can provide the link to the uptime tournament"""
12
        self.assertStringsOutput(marvin_actions.marvinUptime, "visa lite uptime", "uptime", "info")
13
        self.assertActionSilent(marvin_actions.marvinUptime, "uptimetävling")
14