Skip to content
Snippets Groups Projects
Commit 091f0a8a authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: whitespace changes

parent 13497558
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,11 @@
@author: tf
"""
import caosdb as db
from caosdb import Container, Property, RecordType, Record, execute_query, Info, get_connection
from nose.tools import assert_true, assert_not_equals, assert_equals, assert_is_not_none, nottest, assert_raises, with_setup # @UnresolvedImport
from caosdb import (Container, Info, Property, Record, RecordType,
execute_query, get_connection)
from nose.tools import (assert_equals, assert_is_not_none, # @UnresolvedImport
assert_not_equals, assert_raises, assert_true, nottest,
with_setup)
def setup():
......@@ -286,6 +289,7 @@ def test_long_description():
try:
longstr = 'desc_'
while len(longstr) < 100000:
longstr += "a"
......@@ -551,12 +555,15 @@ def test_cache_performance():
t2 = 0.0
n = 10
while t2 < 30 and n <= results:
fetch = Container()
i = 0
for e in c:
i += 1
fetch.append(Record(id=e.id))
if i >= n:
break
......@@ -568,9 +575,11 @@ def test_cache_performance():
fetch = Container()
i = 0
for e in c:
i += 1
fetch.append(Record(id=e.id))
if i >= n:
break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment