Browse Source

fixed tox for testing, removed pep8 unittest and added flake8 stage in tox

changes/49/376949/1
Corey Goldberg 8 years ago
parent
commit
55701d643f
  1. 14
      tox.ini
  2. 1
      xvfbwrapper/__init__.py
  3. 7
      xvfbwrapper/test_xvfb.py

14
tox.ini

@ -4,12 +4,20 @@
# and then run "tox" from this directory.
[tox]
envlist = py27, py32, py33, pypy
envlist = flake8, py27, py32, py33, pypy
[flake8]
exclude = .tox, build
[testenv]
deps =
deps =
nose
pep8
commands =
{envpython} setup.py install
nosetests
[testenv:flake8]
deps =
flake8
commands =
flake8

1
xvfbwrapper/__init__.py

@ -1,3 +1,2 @@
from xvfbwrapper import *
__version__ = '0.2.3'

7
xvfbwrapper/test_xvfb.py

@ -7,13 +7,6 @@ import os
import sys
import unittest
try:
from StringIO import StringIO # Python 2.7 compat
except ImportError:
from io import StringIO
import pep8
class TestXvfb(unittest.TestCase):

Loading…
Cancel
Save