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

tests/bears/LocalBearTest.py (4 issues)

1
import unittest
2
3
from coalib.bears.LocalBear import BEAR_KIND, LocalBear
4
from coalib.settings.Section import Section
5
6
7
class LocalBearTest(unittest.TestCase):
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable unittest does not seem to be defined.
Loading history...
8
9
    def test_api(self):
10
        test_object = LocalBear(Section("name"), None)
11
        self.assertRaises(NotImplementedError,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable NotImplementedError does not seem to be defined.
Loading history...
12
                          test_object.run,
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable test_object does not seem to be defined.
Loading history...
13
                          "filename",
14
                          ["file\n"])
15
16
    def test_kind(self):
17
        self.assertEqual(LocalBear.kind(), BEAR_KIND.LOCAL)
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable BEAR_KIND does not seem to be defined.
Loading history...
18