sneakypete81
|
a250a87df4
|
Move openphoto script to bin directory (as recommended in http://guide.python-distribute.org/)
|
2013-07-06 11:02:39 +01:00 |
|
sneakypete81
|
0de30e196d
|
Merge branch 'consistency_fixes' into development
|
2013-07-02 20:51:29 +01:00 |
|
sneakypete81
|
b4861e4332
|
Fix a couple of unit tests
|
2013-06-30 18:25:05 +01:00 |
|
sneakypete81
|
639836c248
|
object.add/remove_photos should accept photos list as first parameter
(even though it's not implemented yet)
|
2013-06-30 18:17:48 +01:00 |
|
sneakypete81
|
a23dbb36c5
|
Remove invalid comment
|
2013-06-30 18:16:09 +01:00 |
|
sneakypete81
|
33c700a3cd
|
Ensure album cover is updated to a Photo object during Album() initialisation
|
2013-06-30 18:15:28 +01:00 |
|
sneakypete81
|
4c6b41dbc3
|
Don't test the tag/create endpoint, as it is redundant and will be removed.
See #38 for details.
|
2013-06-30 18:10:15 +01:00 |
|
sneakypete81
|
971bab4f7b
|
Status code mismatches are actually quite common.
Rather than raise an exception, just ensure we return the JSON code.
|
2013-06-30 18:04:36 +01:00 |
|
sneakypete81
|
413cf297a3
|
Replace_encoded parameter should be called photo_file, not encoded_photo
|
2013-06-30 17:40:25 +01:00 |
|
sneakypete81
|
5656221147
|
After deleting an object's fields, name and id should be set to None
|
2013-06-30 17:39:02 +01:00 |
|
sneakypete81
|
9968d7f265
|
Delete methods should raise exception on failure, rather than returning False
|
2013-06-30 17:34:41 +01:00 |
|
sneakypete81
|
3f1757d0aa
|
photos.update/update now also accept a list of Photo objects
|
2013-06-30 17:30:25 +01:00 |
|
sneakypete81
|
280521cf4a
|
Mismatch between response status and JSON code raises an exception
|
2013-06-30 17:21:20 +01:00 |
|
sneakypete81
|
921410d8f8
|
404 status should raise 404 error, even if JSON is valid.
|
2013-06-30 17:17:03 +01:00 |
|
sneakypete81
|
64d762d709
|
Merge branch 'unit_tests' into development
|
2013-06-30 17:10:07 +01:00 |
|
sneakypete81
|
56d376d50e
|
Added tox instructions
|
2013-06-30 17:08:54 +01:00 |
|
sneakypete81
|
a54ec01254
|
Updated functional test instructions
|
2013-06-30 17:05:50 +01:00 |
|
sneakypete81
|
9cc8849322
|
Latest requests_oauthlib fixes a Unicode bug, so we don't need to ask requests to decode anymore
|
2013-06-29 21:24:33 +01:00 |
|
sneakypete81
|
2c6841bdd7
|
Travis now tests all supported Python versions
|
2013-06-29 20:32:56 +01:00 |
|
sneakypete81
|
a1f22c0b6d
|
requests-oauthlib 0.3.2 introduced a Unicode bug.
Hold back to 0.3.1 until this is resolved
|
2013-06-29 20:26:30 +01:00 |
|
sneakypete81
|
6387877e48
|
Monkey-patch httpretty for Python3 support
This fix is in the httpretty codebase, but not yet released
|
2013-06-29 20:25:29 +01:00 |
|
sneakypete81
|
af4260937f
|
Unit test fixes for Python3 support
|
2013-06-29 20:24:12 +01:00 |
|
sneakypete81
|
e662f32cc3
|
Ensure the test file is closed after use to prevent Python3 warnings
|
2013-06-29 20:23:31 +01:00 |
|
sneakypete81
|
7359c1ae5a
|
Ensure files are closed properly, to avoid Python3 warning
|
2013-06-29 20:11:09 +01:00 |
|
sneakypete81
|
77fef49c64
|
PyLint fixes
|
2013-06-29 18:57:12 +01:00 |
|
sneakypete81
|
5825a751c3
|
Removed config secrets from travis setup, since we're now only running the unit tests
|
2013-06-29 17:02:12 +01:00 |
|
sneakypete81
|
a4f7a1194d
|
Update functional test README file
|
2013-06-29 15:39:52 +01:00 |
|
sneakypete81
|
134409b814
|
Update test readme file
|
2013-06-29 15:36:44 +01:00 |
|
sneakypete81
|
2147b41383
|
Updated test documentation
|
2013-06-29 13:17:33 +01:00 |
|
sneakypete81
|
d3a4036817
|
Reorganise tests into unit and functional categories.
Tox (and hence Travis) only runs unit tests
Functional tests can be run manually, with the default Python version
|
2013-06-29 12:43:41 +01:00 |
|
sneakypete81
|
9319f903ac
|
Added tag unit tests
|
2013-06-29 12:16:58 +01:00 |
|
sneakypete81
|
765d2d1039
|
Merge remote-tracking branch 'upstream/master' into unit_tests
|
2013-06-29 11:48:35 +01:00 |
|
sneakypete81
|
1e22ba60d4
|
Merge branch 'python3' into development
|
2013-06-29 11:23:23 +01:00 |
|
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
|
579edc9122
|
Merge pull request #43 from sneakypete81/travis_pylint
Get Travis to run Pylint
|
2013-06-15 06:45:13 -07:00 |
|
sneakypete81
|
f9bca7c675
|
Run pylint after the main tests are complete
|
2013-06-09 17:38:37 +01:00 |
|
sneakypete81
|
b9e0409350
|
Add Pylint to Travis test run.
Results are written to the log for information only.
Pylint errors won't cause test failures.
|
2013-06-09 17:28:19 +01:00 |
|
sneakypete81
|
6e2c1860c5
|
Update README to use Python3-style print function
|
2013-06-07 18:44:54 +02:00 |
|
sneakypete81
|
13610581a6
|
Add Travis status to README
|
2013-05-29 19:06:55 +02:00 |
|
sneakypete81
|
1757ca835f
|
Updated secrets for photo/openphoto-python test server
|
2013-05-29 17:46:46 +01:00 |
|
sneakypete81
|
c3abbc214b
|
Fix verbose commandline option
|
2013-05-25 11:56:19 +01:00 |
|