sneakypete81
|
f083503b7a
|
Capture and check stdout/stderr during cli tests
|
2013-06-29 11:19:02 +01:00 |
|
sneakypete81
|
b22a04f071
|
TestHttpErrors shouldn't inherit from TestHttp
|
2013-06-29 10:59:12 +01:00 |
|
sneakypete81
|
32544878d0
|
Rename transform tests to be consistent
|
2013-06-29 10:59:11 +01:00 |
|
sneakypete81
|
e3e09bd224
|
Check that local object's fields are empty after photo is deleted
|
2013-06-29 10:59:11 +01:00 |
|
sneakypete81
|
0c1a4149a1
|
Add album unit tests
|
2013-06-29 10:59:11 +01:00 |
|
Pete
|
75157a15e1
|
Add CLI testcases.
|
2013-06-26 19:42:20 +01:00 |
|
sneakypete81
|
98abec5697
|
Additional photo API unit tests
|
2013-06-16 19:39:55 +01:00 |
|
sneakypete81
|
c1c309bc9d
|
Started photo API unit tests
|
2013-06-16 13:09:31 +01:00 |
|
sneakypete81
|
b9c947c94c
|
Added more unit tests
File post, API version selection, HTTP errors
|
2013-06-16 12:09:24 +01:00 |
|
sneakypete81
|
24fcf3f415
|
Added basic get/post unit tests
|
2013-06-15 18:40:38 +01:00 |
|
sneakypete81
|
48e29f24a9
|
PyLint fixes
Moved credentials into new Config class
|
2013-05-25 11:33:41 +01:00 |
|
sneakypete81
|
b124b48a75
|
No need to define NotImplementedError, Python has its own.
|
2013-05-25 11:33:41 +01:00 |
|
sneakypete81
|
ba681cea89
|
Code tidyup after 2to3 conversion
Moved config parser into its own module
|
2013-05-25 11:33:41 +01:00 |
|
sneakypete81
|
0805f032fb
|
Python3 support
|
2013-05-25 11:33:41 +01:00 |
|
sneakypete81
|
16503f73dc
|
Correct config test path
|
2013-05-18 13:09:29 +01:00 |
|
sneakypete81
|
658e3ca9f1
|
Use unittest2 where available, to support python <2.7
|
2013-05-18 13:09:29 +01:00 |
|
sneakypete81
|
7668deba43
|
Using tox, for the ability to test across multiple Python versions
|
2013-05-18 13:09:29 +01:00 |
|
sneakypete81
|
b6f7ad6fe9
|
Add run_tests script, to run the test suite will all test servers
|
2013-05-18 13:09:29 +01:00 |
|
sneakypete81
|
60c4d98b85
|
Reduce default stdout verbosity
Add OPENPHOTO_TEST_DEBUG env var for increased debug output
|
2013-05-18 13:09:29 +01:00 |
|
sneakypete81
|
c76ad3f181
|
Merge branch 'master' into apiv1_fixes
Conflicts:
tests/test_base.py
tests/test_framework.py
|
2013-05-11 15:01:48 +01:00 |
|
sneakypete81
|
654449bad4
|
Explicitly remove tags from photos during tag testing
|
2013-05-06 22:35:16 +01:00 |
|
sneakypete81
|
034f24db4c
|
Add OPENPHOTO_TEST_SERVER_API env var
To allow testing to be restricted to a specific maximum API version.
This allows new API tests to be skipped for old servers.
|
2013-05-06 21:53:22 +01:00 |
|
sneakypete81
|
c4ea338f49
|
Workarounds for APIv1 issues
|
2013-05-06 21:27:31 +01:00 |
|
sneakypete81
|
42999f80f5
|
Merge branch 'master' into class_config
Conflicts:
openphoto/__init__.py
openphoto/openphoto_http.py
tests/test_base.py
|
2013-05-06 17:25:36 +01:00 |
|
sneakypete81
|
53b3f7c6cf
|
Config unit test tweaks
|
2013-05-06 16:43:28 +01:00 |
|
sneakypete81
|
896af0afae
|
Add config unit tests
|
2013-05-06 16:19:09 +01:00 |
|
sneakypete81
|
483d0bf847
|
Update test README with config file details
|
2013-05-04 14:48:47 +02:00 |
|
sneakypete81
|
ab77ef9d87
|
Update tests to use config files
Uses 'test' by default
Can be overridden using OPENPHOTO_TEST_CONFIG env var
|
2013-05-04 13:44:48 +01:00 |
|
sneakypete81
|
4658b5c53a
|
Error in future API test now correctly raises a 404 exception.
|
2013-04-28 18:38:56 +01:00 |
|
sneakypete81
|
1b2f0cd869
|
Merge branch 'master' into api_versioning
Conflicts:
tests/test_tags.py
|
2013-04-28 18:38:13 +01:00 |
|
sneakypete81
|
b2f6863c2b
|
Merge pull request #31 from sneakypete81/minor_fixes
Minor fixes
|
2013-04-28 10:25:26 -07:00 |
|
sneakypete81
|
38898cf8b2
|
Merge pull request #30 from sneakypete81/http_improvements
HTTP Improvements.
|
2013-04-28 10:21:33 -07:00 |
|
sneakypete81
|
c7c3b4bdb5
|
Merge branch 'master' into api_versioning
Conflicts:
tests/test_base.py
|
2013-04-28 15:42:22 +01:00 |
|
sneakypete81
|
6d5fe4433c
|
Merge branch 'master' into apiv2_tags
Conflicts:
openphoto/objects.py
tests/test_tags.py
|
2013-04-28 15:29:33 +01:00 |
|
sneakypete81
|
5641ce103a
|
Merge pull request #27 from sneakypete81/apiv2_frontend_bugfixes
Changes due to photo/frontend album bugfix
|
2013-04-28 06:59:02 -07:00 |
|
Pete
|
8690e927fc
|
Merge branch 'minor_fixes' of github.com:sneakypete81/openphoto-python into minor_fixes
|
2013-04-20 20:07:09 +01:00 |
|
Pete
|
e4e24755dd
|
Check that upload parameters are processed correctly
|
2013-04-20 18:53:14 +01:00 |
|
sneakypete81
|
fc234096f2
|
Handle case where tag count is returned as string (as was the case in APIv1)
|
2013-04-20 12:06:35 +01:00 |
|
sneakypete81
|
9cbbd1bd47
|
Run all tests at all API versions
|
2013-04-20 11:48:58 +01:00 |
|
sneakypete81
|
a477dc796c
|
Remove unneeded LOG_FILENAME variable
|
2013-04-20 11:20:22 +01:00 |
|
sneakypete81
|
afde3b2231
|
Add API versioning support, including tests
|
2013-04-15 21:32:54 +01:00 |
|
sneakypete81
|
e6095ec3db
|
Update README to stop nosetests from capturing the logging, since it gets pretty large.
Logs are saved to tests.log.
|
2013-04-15 21:30:06 +01:00 |
|
sneakypete81
|
ea904e4337
|
Not that frontend issue 955 is resolved, we should use the return value of the transform API to replace the photo object's fields
|
2013-04-13 13:11:26 +01:00 |
|
sneakypete81
|
ee3840de9f
|
Merge branch 'master' into transform
|
2013-04-13 13:05:14 +01:00 |
|
Pete
|
e09f166743
|
Update delete endpoints to return True if successful.
If the operation isn't successful, the API returns an error code,
which raises an OpenPhotoError exception.
|
2013-04-09 18:18:12 +01:00 |
|
Pete
|
9333ad100e
|
Fixed helpful test error message
|
2013-04-09 17:43:00 +01:00 |
|
sneakypete81
|
fcf43377dd
|
Merge remote-tracking branch 'upstream/master' into apiv2_frontend_bugfixes
ecially if it merges an updated upstream into a topic branch.
|
2013-04-02 21:31:48 +01:00 |
|
sneakypete81
|
c6c81b9b50
|
Merge branch 'master' into apiv2_tags
|
2013-04-02 21:30:59 +01:00 |
|
sneakypete81
|
95b58a0e3a
|
Merge branch 'master' into logging
Conflicts:
openphoto/openphoto_http.py
|
2013-04-02 21:10:42 +01:00 |
|
sneakypete81
|
665383a6c2
|
Merge branch 'master' into multipart
Conflicts:
tests/test_base.py
|
2013-04-02 20:59:26 +01:00 |
|