From 71b13eda4ec5a577df1ccf4b07e26cbd87eaaa3e Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 22 Aug 2016 18:52:51 -0300 Subject: [tests] remove unused new=False logic --- testing/tests/perf/conftest.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'testing') diff --git a/testing/tests/perf/conftest.py b/testing/tests/perf/conftest.py index 68e0fb38..9abd0c54 100644 --- a/testing/tests/perf/conftest.py +++ b/testing/tests/perf/conftest.py @@ -220,17 +220,11 @@ def soledad_client(tmpdir, soledad_server, remote_db, soledad_dbs, request): soledad_dbs(default_uuid) # get a soledad instance - def create(new=False): + def create(): secrets_path = os.path.join(tmpdir.strpath, '%s.secret' % uuid4().hex) local_db_path = os.path.join(tmpdir.strpath, '%s.db' % uuid4().hex) - if new: - uuid = uuid4().hex - remote_db(uuid) - soledad_dbs(uuid) - else: - uuid = default_uuid soledad_client = Soledad( - uuid, + default_uuid, unicode(passphrase), secrets_path=secrets_path, local_db_path=local_db_path, -- cgit v1.2.3