Completed
Pull Request — master (#1431)
by Abdeali
01:38
created

bears.tests.natural_language.reSTLintBearTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 10
Duplicated Lines 0 %
Metric Value
dl 0
loc 10
rs 10
wmc 3
1
from bears.natural_language.reSTLintBear import reSTLintBear
2
from bears.tests.LocalBearTestHelper import verify_local_bear
3
4
5
good_file = ["test\n====\n"]
6
bad_file = ["test\n==\n"]
7
8
9
reSTLintBearTest = verify_local_bear(reSTLintBear,
10
                                     valid_files=(good_file,),
11
                                     invalid_files=(bad_file,))
12