1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
"""Unit tests for strunk_white_eos."""
# from .check import Check
# from proselint.checks.strunkwhite import elementary_composition as chk
# class TestCheck(Check):
# """Define the suite of checks."""
# __test__ = True
# @property
# def this_check(self):
# return chk
# def test_with_utilized(self):
# """Don't produce an error when 'use' is used correctly."""
# assert self.check("I use a hammer to drive nails into wood.")
# def test_no_utilized(self):
# """Produce an error when 'utilize' is used in place of 'use'."""
# assert not self.check("I utilize a hammer to drive nails into wood.")
|