summaryrefslogtreecommitdiff
path: root/testing/tests
AgeCommit message (Collapse)Author
2017-04-19[test] change assert for self.assertXVictor Shyba
2017-04-19[feature] add send_missing to send pending uploadsVictor Shyba
This method will gather a list of local docs and a list of remote docs, compare them and send docs which server doesn't have. - Related: #8807
2017-04-10[refactor] use fixed rev and remove doc_id (blobs)Victor Shyba
doc_id wasn't being stored, loaded or used anywhere except for authentication. This commit removes it and uses a fixed value for rev since blobs is supposed to be immutable. - Resolves: #8813
2017-04-04[feat] add the host hostname to benchmark machine infodrebs
2017-04-04[test] change assert for self.assertXVictor Shyba
2017-04-04[docs] improve docstrings and comments from reviewVictor Shyba
2017-04-04[style] naming improvementsVictor Shyba
2017-04-04[refactor] list is remote_list, avoiding confusionVictor Shyba
2017-04-04[feature] add listing to local blob dbVictor Shyba
2017-04-04[feature] add blobs listingVictor Shyba
2017-04-04[refactor] adds a PreamblePipe for preamble downloadVictor Shyba
Downloading until there is a space then splitting the content was a mess. Extracted this behaviour out of DecrypterBuffer into a new component so it eases testing by introducing a single responsibility class.
2017-04-04[refactor] extracts tail logic into TruncatedTailPipeVictor Shyba
2017-04-04[feature] use 409 status code for existing blob idVictor Shyba
Raising was generating 500, which is a generic status code for server side errors. This commit adds proper status code of 409 while handling the error on client side by translating the code into a proper exception class.
2017-04-04[test] fix treq -> _client changeVictor Shyba
2017-04-04[test] test blobs local db with file handlersVictor Shyba
2017-04-04[test] test get inexistent on local sqlcipher for blobs clientVictor Shyba
2017-04-04[test] upload/download integration testVictor Shyba
2017-04-04[test] use mock instead of directly patchingVictor Shyba
2017-04-04[test] patch pinned client in blobs testdrebs
2017-04-04[refactor] pass configured blobs resource to server auth classdrebs
2017-04-04[test] check path partitioningVictor Shyba
2017-04-04[test] check that write respects quotaVictor Shyba
2017-04-04[test] check blobs server cant overwriteVictor Shyba
2017-04-04[test] check FS backend readVictor Shyba
2017-04-04[test] check tag header on FS backendVictor Shyba
2017-04-04[test] BlobManager encrypt testVictor Shyba
2017-04-04[feature] unarmored incremental blobs decryptVictor Shyba
2017-04-04[feature] incremental decrypterVictor Shyba
2017-04-04[feature] ascii armor disable optionVictor Shyba
2017-04-04[bug] fix loose ends on _crypto and testsVictor Shyba
2017-03-23[feature] generate recovery codeAnike Arni
with @tayane
2017-03-17[refactor] Improve python3 compatibilityefkin
With this commit all tests on py34 tox environment are collected.
2017-03-17[test] Prepare tests for python3 compatibilityefkin
2017-03-09[bug] secrets version defaults to v1Tulio Casagrande
2017-03-09[bug] add default version when decrypting secretsTulio Casagrande
Resolves: https://0xacab.org/leap/soledad/issues/8788
2017-03-02[test] add comments explaining behaviour of upload/download benchmarkdrebs
2017-03-02[test] improve twistd startup and terminationdrebs
- use subprocess.check_call() to ensure any errors during twistd startup will properly show up on test reports. - use SIGTERM instead of SIGKILL to gracefully terminate twistd.
2017-03-02[test] mark benchmark tests using their group namesdrebs
2017-03-02[test] bugfix: actually use an empty local db in download benchmarksdrebs
We were previously not using an empty local db for download benchmark tests, so there was actually nothing to sync. This commit fixes that by adding a way to force an empty local db on soledad client instantiation.
2017-03-02[test] use new way of indicating the tcp port for twisted webdrebs
2017-03-02[test] fix test_sync_target for error handlingVictor Shyba
It needs a defer.Deferred
2017-02-27[feat] add configurable blobs path in serverdrebs
- Resolves: #8777
2017-02-25[refactor] pass soledad object to client secrets apidrebs
In order to be able to change passphrase, token and offline status of soledad from the bitmask client api, the secrets api also has to be able to use up-to-date values when encrypting/decrypting secrets and uploading/downloading them to the server. This commit makes public some soledad attributes that were previously "private" (i.e. used to start with "_" and were not meant to be accessed from outside), and passes the whole soledad object to the client secrets api. This makes the code cleaner and also allows for always getting newest values of soledad attributes.
2017-02-16[style] add deprecation warning on legacy decoderVictor Shyba
2017-02-16[feature] add doc size to preambleVictor Shyba
That's necessary for blobs-io. Current code includes backwards compatibility branching and tests, which shall be removed on next releases.
2017-02-15[tests] add tests for preamble encodingVictor Shyba
2017-02-15[style] pep8Victor Shyba
2017-02-15[tests] fix testsKali Kaneko
2017-02-13[tests] conf format changed, no more nestingVictor Shyba
2017-02-13[tests] server parameter is gone, patch the moduleVictor Shyba