fix cache.increment, added tests

This commit is contained in:
niphlod
2014-09-16 23:50:10 +02:00
parent 424746ce7a
commit 50f16744a7
4 changed files with 53 additions and 5 deletions
+4
View File
@@ -63,6 +63,10 @@ try:
#due to http://bugs.python.org/issue10845, testing multiprocessing in python is impossible
if sys.platform.startswith('win'):
MP_WORKING = 0
#multiprocessing is also not available on GAE. Since tests randomly
#fail, let's not make them on it too
if 'datastore' in os.getenv('DB', ''):
MP_WORKING = 0
except ImportError:
pass