"""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

  """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
## Code Before:
"""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.""")


## Instruction:
Add test for exception to uncomparable check
## Code After:
"""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.""")
