From 594a59a8169e4b09e3a708ead6e34ac485ae8d6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Mon, 22 Jul 2019 13:45:46 +0200 Subject: [PATCH] MAINT: whitespace changes --- tests/test_file.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tests/test_file.py b/tests/test_file.py index f413dac..2bf3eb0 100644 --- a/tests/test_file.py +++ b/tests/test_file.py @@ -26,16 +26,18 @@ @author: Timm Fitschen """ import os - import shutil -from lxml import etree -from sys import maxsize as maxint from random import randint +from sys import maxsize as maxint + +from caosdb import execute_query, get_config, get_connection from caosdb.common import models from caosdb.exceptions import EntityError -from caosdb import execute_query, get_config, get_connection from caosdb.utils.checkFileSystemConsistency import runCheck -from nose.tools import assert_is_not_none, assert_true, assert_false, assert_equals, assert_raises, with_setup, nottest # @UnresolvedImport +from lxml import etree +from nose.tools import (assert_equals, assert_false, # @UnresolvedImport + assert_is_not_none, assert_raises, assert_true, + nottest, with_setup) def setup_module(): @@ -237,6 +239,7 @@ def test_file6(): d = models.DropOffBox() d.sync() path = d.path + "/testfolder" + if not os.path.isdir(d.path): print("drop off box not on this system.") else: @@ -293,6 +296,7 @@ def test_file7(): d = models.DropOffBox() d.sync() path = d.path + "/testfolder" + if not os.path.isdir(d.path): print("drop off box not on this system.") else: -- GitLab