Statistics
| Branch: | Tag: | Revision:

root / kamaki / clients / pithos / test.py @ 38a79780

History | View | Annotate | Download (73.7 kB)

# Date Author Comment
7a3c66e1 12/10/2013 03:25 pm Stavros Sachtouris

Fix unittests in kamaki.clients, subnet arg bug

776b275c 08/05/2013 06:45 pm Stavros Sachtouris

Use multiformed ranges in kamaki pithos lib

Refs: #4059

Also, adjust corresponding unit and functional tests

5c2058e7 08/01/2013 01:37 pm Stavros Sachtouris

Allow upload_from_string to use content-encoding

c088076b 06/20/2013 04:16 pm Stavros Sachtouris

Adjust unit/functional tests

Refs: #3964

13c02904 05/23/2013 05:46 pm Stavros Sachtouris

Fix expected "public" header params in tests

6aadd6e1 05/21/2013 07:47 pm Stavros Sachtouris

Do not unpublish by default @ pithos rest calls

Refs: #3780

5655d560 05/17/2013 07:11 pm Stavros Sachtouris

Update file operations and their output

Refs: #3756 #3732

- Add optional output for file methods: mkdir, touch, create, move, create,
copy, move, append, delete, purge, info, meta, upload
- Transliterate permissions and metadata methods to apear as get/set/delete...
dcfe7455 05/16/2013 08:25 pm Stavros Sachtouris

Update changelog, unittests for upload_from_string

Refs: #3608

49cc29b2 05/16/2013 04:31 pm Stavros Sachtouris

Implement download_to_string in pithos client

The download_to_string method downloads a remote object from pithos into a
string, which is then returned.

Also, implemented unit and functional tests. Changelog is updated

Refs: #3608

0ef0db9f 05/15/2013 02:23 pm Stavros Sachtouris

Update unitest to include container_info_cache

Refs: 3707

3c216009 05/14/2013 06:52 pm Stavros Sachtouris

Modify upload methods to return created obj info

Methods affected:
upload_object
upload_object_unchunked
upload_object_by_manifestation

unittests modified accordingly

Refs: #3656

3ed6dbde 04/15/2013 02:11 pm Stavros Sachtouris

Split file-quota semantics for account and contner

kamaki file quota --> only for account
kamaki file quota <container> --> kamaki file containerlimit get [container]

Support #3541

326a79b9 04/15/2013 01:32 pm Stavros Sachtouris

Rename file setquota to file containerlimit set

Also, do not allow user to set account quota

1792ed1d 04/15/2013 11:22 am Stavros Sachtouris

Remove quotaholder from kamaki

This affects the cli:
- remove the quotaholder commands set
- remove the commissioning system (automatic command retrieval)

This affevts the clients:
- remove the quotaholder client
- remove the clients commissioning system...

e9ac514e 04/12/2013 03:37 pm Stavros Sachtouris

Add if-etag-match to pithos client upload

524d9cdd 04/12/2013 03:18 pm Stavros Sachtouris

Add option to fail upload if remote file exists

The if-none-match header option with '*' is used in that case.
This is exposed as 'if_not_exist' in PithosClient.upload_object

Feature #3574

d187ba37 04/08/2013 03:53 pm Stavros Sachtouris

Create a livetest that catches bug #3555

A boring file is a file with at least two same blocks
Kamaki fails to download more than 1 same blocks, therefore the downloaded
file is corrupted
This test fixes the bug

c2b5da2f 04/04/2013 04:37 pm Stavros Sachtouris

Redesign http connection module

Merge everything to kamaki.clients

Remove multiple hierarchies of connection classes (== abandon support for
alternative connection methods, e.g. for requests from pypi)

New connection classes are
- RequestManager
- ResponseManager...

3c50df2e 03/22/2013 03:42 pm Stavros Sachtouris

Apply a simple naming convention for unit tests

Naming convention:

Actual functionality:

In package kamaki.clients.pkg there is class C containing a method M
Test it in a package kamaki.clients.pkg.test, with a class C + a method test_M
Command line run:...

61c7a05f 03/19/2013 06:39 pm Stavros Sachtouris

Unittest PithosRest.object_delete and its over

c639293b 03/19/2013 06:32 pm Stavros Sachtouris

Unittest PithosRest.obejct_post

1a8bfa4f 03/19/2013 06:12 pm Stavros Sachtouris

Unittest PithosRest.object_move

49886c59 03/19/2013 05:59 pm Stavros Sachtouris

Unittest PithosRest.object_copy

6cd86652 03/19/2013 05:45 pm Stavros Sachtouris

Unittest PithosRest.object_put

1b80cb25 03/19/2013 04:23 pm Stavros Sachtouris

Unittest PithosRest.object_get

fa27f71a 03/19/2013 04:07 pm Stavros Sachtouris

Unittest PithosRest.object_head

faa4a3ea 03/19/2013 03:50 pm Stavros Sachtouris

Unittest PithosRest.container_delete

7702c429 03/19/2013 03:46 pm Stavros Sachtouris

Unittest PithosRest.container_post

1df0b0aa 03/19/2013 03:25 pm Stavros Sachtouris

Unittest PithosRest.container_get

c7e9c644 03/19/2013 02:45 pm Stavros Sachtouris

Unittest PithorRest.container_get

bbf5dddd 03/19/2013 02:02 pm Stavros Sachtouris

Unittest PithorRest.container_head

da657652 03/15/2013 06:40 pm Stavros Sachtouris

Unittest PithosRest.account_post

1b4629c6 03/15/2013 06:08 pm Stavros Sachtouris

Unittest PithosRest.account_get

bdbca529 03/15/2013 05:39 pm Stavros Sachtouris

Unittest PithosRest.account_head

55faa0bc 03/15/2013 04:58 pm Stavros Sachtouris

Prepare PithorRest testcase for implementation

98a7195e 03/14/2013 06:54 pm Stavros Sachtouris

Rephrase pithos mocking expressions

e3b8f796 03/13/2013 03:14 pm Stavros Sachtouris

Finetest and move Storage.list_objects_in_path

b23d2558 03/13/2013 03:10 pm Stavros Sachtouris

Finetest and move Storage.delete_object

5ea1e2ac 03/13/2013 01:19 pm Stavros Sachtouris

Finetest Storage/Pithos.get_object_meta

aa9c7402 03/13/2013 12:58 pm Stavros Sachtouris

Finetest Storage.create_directory

52228b49 03/13/2013 12:37 pm Stavros Sachtouris

Finetest and move Storage.create_object

d15e5249 03/13/2013 11:43 am Stavros Sachtouris

Finetest and move Storage.delete_container

96befbfd 03/12/2013 07:15 pm Stavros Sachtouris

Finetest and move Stoage.create_container

ceb84616 03/12/2013 06:51 pm Stavros Sachtouris

Finetest and move Storage.replace_account_meta

b1738762 03/12/2013 06:40 pm Stavros Sachtouris

Finetest PithosClient.get_account_info

85898ca4 03/12/2013 05:59 pm Stavros Sachtouris

Rearange client packages 4 uniformity in testing