Failed Conditions
Pull Request — master (#2076)
by Abdeali
02:11
created

HiddenResultTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %
Metric Value
dl 0
loc 5
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_hidden_result() 0 3 1
1
import unittest
2
3
from coalib.results.HiddenResult import HiddenResult
4
5
6
class HiddenResultTest(unittest.TestCase):
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable unittest does not seem to be defined.
Loading history...
7
8
    def test_hidden_result(self):
9
        uut = HiddenResult("any", "anything")
10
        self.assertEqual(uut.contents, "anything")
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable uut does not seem to be defined.
Loading history...
11