mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-08 05:54:17 +00:00
Start new tests
run_tests will collect and run the tests on python 2.6+ (need to test 2.5) without nose.
This commit is contained in:
parent
3fbfd0b2d7
commit
1e59072600
2 changed files with 40 additions and 0 deletions
8
flake8/tests/test_engine.py
Normal file
8
flake8/tests/test_engine.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
from flake8 import engine
|
||||
import unittest
|
||||
|
||||
|
||||
class TestEngine(unittest.TestCase):
|
||||
def test_get_style_guide(self):
|
||||
g = engine.get_style_guide()
|
||||
self.assertTrue(isinstance(g, engine.StyleGuide))
|
||||
Loading…
Add table
Add a link
Reference in a new issue