14
0
Files
python-proselint/disable-empty-test.patch
Tomáš Chvátal 5d0a78e4d7 Accepting request 674778 from home:jayvdb:coala:python3-bears
- Fix invocation of test suite to run the tests
- Add Recommends for python2-gdbm, and BuildRequires to activate
  the tests related to gdbm
- Add disable-empty-test.patch to remove unused test module
- Update from v0.8.0 to v0.10.2

OBS-URL: https://build.opensuse.org/request/show/674778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proselint?expand=0&rev=9
2019-02-14 08:32:41 +00:00

32 lines
811 B
Diff

diff --git a/tests/test_weasel_words_misc.py b/tests/test_weasel_words_misc.py
deleted file mode 100644
index 3f93e8f..0000000
--- a/tests/test_weasel_words_misc.py
+++ /dev/null
@@ -1,25 +0,0 @@
-"""Tests for weasel_words.misc check."""
-from __future__ import absolute_import
-
-from .check import Check
-
-from proselint.checks.weasel_words import misc as chk
-from nose import SkipTest
-
-
-class TestCheck(Check):
- """The test class for weasel_words.misc."""
-
- raise SkipTest
-
- __test__ = True
-
- @property
- def this_check(self):
- """Boilerplate."""
- return chk
-
- def test_smoke(self):
- """Basic smoke test for weasel_words.misc."""
- assert self.passes("""Smoke phrase with nothing flagged.""")
- # FIXME add test when check is implemented