diff --git a/tests/test_glaad_offensive_terms.py b/tests/test_lgbtq_offensive_terms.py similarity index 66% rename from tests/test_glaad_offensive_terms.py rename to tests/test_lgbtq_offensive_terms.py index c63bd8922..671bd0fa4 100644 --- a/tests/test_glaad_offensive_terms.py +++ b/tests/test_lgbtq_offensive_terms.py @@ -1,13 +1,13 @@ -"""Test GLAAD Guidelines.""" +"""Tests for lgbtq.terms check.""" from __future__ import absolute_import from .check import Check -from proselint.checks.glaad import offensive_terms as chk +from proselint.checks.lgbtq import offensive_terms as chk class TestCheck(Check): - """The test class for glaad.offensive_terms.""" + """The test class for lgbtq.offensive_terms.""" __test__ = True @@ -17,7 +17,7 @@ def this_check(self): return chk def test_smoke(self): - """Basic smoke test for glaad.offensive_terms.""" + """Basic smoke test for lgbtq.offensive_terms.""" assert self.passes("""Smoke phrase with nothing flagged.""") assert self.passes("""I once met a gay man.""") assert not self.passes("""I once met a fag.""") diff --git a/tests/test_glaad_terms.py b/tests/test_lgbtq_terms.py similarity index 79% rename from tests/test_glaad_terms.py rename to tests/test_lgbtq_terms.py index eb06bbbc7..95ed37cd8 100644 --- a/tests/test_glaad_terms.py +++ b/tests/test_lgbtq_terms.py @@ -1,13 +1,13 @@ -"""Test GLAAD Guidelines.""" +"""Tests for lgbtq.offensive_terms check.""" from __future__ import absolute_import from .check import Check -from proselint.checks.glaad import terms as chk +from proselint.checks.lgbtq import terms as chk class TestCheck(Check): - """The test class for glaad.terms.""" + """The test class for lgbtq.terms.""" __test__ = True @@ -17,7 +17,7 @@ def this_check(self): return chk def test_smoke(self): - """Basic smoke test for glaad.terms.""" + """Basic smoke test for lgbtq.terms.""" assert self.passes("""Smoke phrase with nothing flagged.""") assert self.passes("""They were a gay couple.""") assert not self.passes("""He was a homosexual man.""")