File: test_strunk_white_eos.py

package info (click to toggle)
python3-proselint 0.14.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,220 kB
  • sloc: python: 7,173; sh: 6; makefile: 3
file content (22 lines) | stat: -rw-r--r-- 665 bytes parent folder | download
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.")