"""Test dfw.uncomparables."""

from check import Check
from proselint.checks.wallace import uncomparables as chk


class TestCheck(Check):

    """The test class for dfw.uncomparables."""

    __test__ = True

    @property
    def this_check(self):
        """Bolierplate."""
        return chk

    def test_sample_phrases(self):
        """Find 'very unique'."""
        assert not self.passes("""This sentence is very unique.""")

    def test_linebreaks(self):
        """Handle linebreaks correctly."""
        assert not self.passes("""This sentence is very\nunique.""")


"""Test dfw.uncomparables."""

from check import Check
from proselint.checks.wallace import uncomparables as chk


class TestCheck(Check):

    """The test class for dfw.uncomparables."""

    __test__ = True

    @property
    def this_check(self):
        """Bolierplate."""
        return chk

    def test_sample_phrases(self):
        """Find 'very unique'."""
        assert not self.passes("""This sentence is very unique.""")

    def test_linebreaks(self):
        """Handle linebreaks correctly."""
        assert not self.passes("""This sentence is very\nunique.""")

    def test_constitutional(self):
        """Don't flag 'more perfect'."""
        assert self.passes("""A more perfect union.""")

Add test for exception to uncomparable check
Add test for exception to uncomparable check
