Commit graph

11 commits

Author SHA1 Message Date
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
48e29f24a9 PyLint fixes
Moved credentials into new Config class
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
658e3ca9f1 Use unittest2 where available, to support python <2.7 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
4658b5c53a Error in future API test now correctly raises a 404 exception. 2013-04-28 18:38:56 +01:00
sneakypete81
9cbbd1bd47 Run all tests at all API versions 2013-04-20 11:48:58 +01:00
sneakypete81
afde3b2231 Add API versioning support, including tests 2013-04-15 21:32:54 +01:00