summaryrefslogtreecommitdiff
path: root/testing/test_soledad
AgeCommit message (Collapse)Author
2017-03-17[test] Prepare tests for python3 compatibilityefkin
2017-02-23[refactor] remove syncable property from shared dbdrebs
2017-02-09[feat] use twisted web http auth and credsdrebs
2016-12-12[tests] migrate pytest to trialVictor Shyba
test_deprecated_crypto was using pytest, which unfortunately doesnt work when mixed with trial. Migrated back. Also added norecursedirs option back, as it is necessary for parallel testing mode.
2016-12-12[test] remove unneeded setting of environment variablesdrebs
2016-12-12[test] fix test and remove leftovers defer_encryptionVictor Shyba
2016-12-12[refactor] remove lingering refs to syncdbKali Kaneko
2016-12-12[tests] adapt testsKali Kaneko
2016-09-30[test] use pytest tmpdir fixture in all testsdrebs
Tests that were imported from u1db or created on top of that structure were leaving temporary directories behind. This could cause problems in test servers, either by filling the partition or by extrapolating the maximum amount of files in a directory. This commit replaces all usages of temporary directories in the old test structure by pytest tmpdir fixture, which properly cares for removing temporary directories.
2016-08-01[test] allow custom couch url for couch testsdrebs
2016-08-01[test] remove traces of design docs from couch testsdrebs
2016-07-12[bug] properly trap db errors and close resourcesdrebs
SQLCipher database access errors can raise Soledad exceptions. Database access and multithreading resources are allocated in different places, so we have to be careful to close all multithreading mechanismis in case of database access errors. If we don't, zombie threads may haunt the reactor. This commit adds SQLCipher exception trapping and Soledad exception raising for database access errors, while properly shutting down multithreading resources.
2016-07-12[test] toxify testsdrebs
- move tests to root directory - split tests in different subdirectories - setup a small package with common test dependencies in /testing/test_soledad - add tox.ini that will: - install the test_soledad package and other test dependencies - install soledad common, client, server from the repository - run tests contianed in /testing/tests directory using pytest This commit also removes all oauth code from tests, as we have removed the u1db dependency (by importing it into the repo and naming it l2db) and don't neet oauth at all right now.