Skip to content

Commit

Permalink
Add a simple test for lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed May 9, 2016
1 parent 798d6fe commit 14f2fbb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ install:
- pip install ./html5lib
- pip install pytest-travis-fold
script:
- py.test manifest
- py.test lint manifest
- flake8
2 changes: 1 addition & 1 deletion lint/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import lint
from . import lint
Empty file added lint/tests/__init__.py
Empty file.
5 changes: 5 additions & 0 deletions lint/tests/test_lint.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from lint.lint import filter_whitelist_errors

def test_lint():
filtered = filter_whitelist_errors({}, '', [])
assert filtered == []

0 comments on commit 14f2fbb

Please sign in to comment.