pep8 fixes; sort imports

This commit is contained in:
Daniel Hahler
2015-04-29 11:52:36 +02:00
parent a0bb09e891
commit ab04982d63

View File

@@ -1,7 +1,7 @@
import os import os
import subprocess
import urllib import urllib
import zipfile import zipfile
import subprocess
import pytest import pytest
@@ -16,7 +16,8 @@ class IntegrationTestFile(object):
self.path = path self.path = path
def run(self): def run(self):
output = subprocess.check_output([VSPEC_RUNNER, '.', VSPEC_FOLDER, self.path]) output = subprocess.check_output(
[VSPEC_RUNNER, '.', VSPEC_FOLDER, self.path])
for line in output.splitlines(): for line in output.splitlines():
if line.startswith(b'not ok') or line.startswith(b'Error'): if line.startswith(b'not ok') or line.startswith(b'Error'):
pytest.fail("{} failed:\n{}".format( pytest.fail("{} failed:\n{}".format(