diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2016-08-22 18:52:51 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2016-08-22 18:52:51 -0300 |
commit | 71b13eda4ec5a577df1ccf4b07e26cbd87eaaa3e (patch) | |
tree | 9de03857221596bac37874dea126db1ff701c483 | |
parent | 4f5ecb4c719a3a842d852fbaab549d2881d6528f (diff) |
[tests] remove unused new=False logic
-rw-r--r-- | testing/tests/perf/conftest.py | 10 |
1 files changed, 2 insertions, 8 deletions
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, |