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
sneakypete81
5bf674a2f5
Version bump to 0.3
2013-05-25 11:34:32 +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
20e526c28c
We can only support Python2.6 and above
2013-05-25 11:33:41 +01:00
sneakypete81
b2e7aa1f27
Trailing whitespace removal
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
6c75abc9a8
No need to explicitly specify a filename.
...
Requests can use the file object to determine the filename.
2013-05-25 11:33:41 +01:00
sneakypete81
54da488b4e
For file POSTs, rather than signing params and including them in the multipart
...
form data, just include them as query parameters. This means they'll
be signed automatically by requests_oauthlib.
Non-file POSTs still need the parameters to be sent as form data.
2013-05-25 11:33:40 +01:00
sneakypete81
326394fed9
Updated to use requests and requests_oauthlib
...
To allow Python3 support.
Also removes quite a bit of multipart post magic.
2013-05-25 11:33:40 +01:00
sneakypete81
d678a6458e
Merge pull request #40 from sneakypete81/travis_for_upstream
2013-05-25 10:28:15 +01:00
sneakypete81
792632fdf4
Merge pull request #39 from sneakypete81/test_improvements_master
...
Test improvements
2013-05-25 02:23:48 -07:00
sneakypete81
0e78675534
Make travis script executable
2013-05-18 14:21:12 +01:00
sneakypete81
d0be026266
Add travis config for upstream
...
Will require new secure env vars for the upstream fork
2013-05-18 14:19:14 +01:00