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

bears.tests.natural_language.ProseLintBearTest.test_run()   A

Complexity

Conditions 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %
Metric Value
cc 1
dl 0
loc 6
rs 9.4285
1
from bears.natural_language.ProseLintBear import ProseLintBear
2
from bears.tests.LocalBearTestHelper import verify_local_bear
3
4
5
good_file = ["The 50s were swell."]
6
bad_file = ["The 50's were swell."]
7
8
9
ProseLintBearTest = verify_local_bear(ProseLintBear,
10
                                      valid_files=(good_file,),
11
                                      invalid_files=(bad_file,))
12