Commit graph

23 commits

Author SHA1 Message Date
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
658e3ca9f1 Use unittest2 where available, to support python <2.7 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
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
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
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
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
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
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
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
sneakypete81
da8fbb52cf Updated to use Python logging module 2013-03-24 17:18:43 +00:00
sneakypete81
2abf46c0e6 Prettier printout when running tests 2013-03-23 16:46:47 +00:00
sneakypete81
d94c7fd8cd Update tests to use multipart upload 2013-03-17 16:00:19 +00:00
Pete
e9df18ebbb Log all API calls/responses during unit tests 2013-03-16 09:01:21 +00:00
Pete
4ccdceb601 Private (visible=False/True) albums are no longer supported.
Tag count is now returned as an integer
Explicitly add test tags, rather than removing autogenerated tags
2013-03-16 08:50:44 +00:00
sneakypete81
ba5be69bec Added tests for Python API library 2012-09-04 22:08:48 +01:00