mirror of
https://github.com/datafolklabs/cement.git
synced 2026-02-06 13:42:03 +00:00
Resolves Issue #343
This commit is contained in:
parent
bf93c40f29
commit
8d43da80dd
@ -49,6 +49,7 @@ Features:
|
||||
* :issue:`336` - Added Support for ``CementApp.reload()`` (SIGHUP)
|
||||
* :issue:`337` - Added ``app.run_forever()`` alternative run method.
|
||||
* :issue:`342` - Added Alarm/Timeout Support
|
||||
* :issue:`343` - Memcached Extension/Pylibmc Now Supports Python 3
|
||||
|
||||
Refactoring:
|
||||
|
||||
|
||||
@ -115,7 +115,7 @@ class IController(interface.Interface):
|
||||
arguments (I.e. self.app.args.parse()).
|
||||
|
||||
:returns: Returns the result of the executed controller function,
|
||||
or ``None`` if no controller function is called.
|
||||
or ``None`` if no controller function is called.
|
||||
|
||||
"""
|
||||
|
||||
|
||||
@ -6,7 +6,6 @@ Requirements
|
||||
------------
|
||||
|
||||
* pylibmc (``pip install pylibmc``)
|
||||
* Python < 3
|
||||
|
||||
|
||||
Configuration
|
||||
|
||||
@ -48,6 +48,7 @@ Extensions
|
||||
* :ref:`Alarm <cement.ext.ext_alarm>` - Provides quick access to
|
||||
setting an application alarm to easily handling timing out long running
|
||||
operations.
|
||||
* :ref:`Memcached <cement.ext.ext_memcached>` - Now supported on Python 3.
|
||||
|
||||
|
||||
Misc Enhancements
|
||||
|
||||
@ -12,3 +12,4 @@ pystache
|
||||
pyYaml
|
||||
colorlog
|
||||
tabulate
|
||||
pylibmc
|
||||
|
||||
@ -1,18 +1,13 @@
|
||||
"""Tests for cement.ext.ext_memcached."""
|
||||
|
||||
import sys
|
||||
import pylibmc
|
||||
from time import sleep
|
||||
from random import random
|
||||
from cement.core import handler
|
||||
from cement.utils import test
|
||||
from cement.utils.misc import init_defaults
|
||||
|
||||
if sys.version_info[0] < 3:
|
||||
import pylibmc
|
||||
else:
|
||||
raise test.SkipTest(
|
||||
'pylibmc does not support Python 3') # pragma: no cover
|
||||
|
||||
|
||||
class MemcachedExtTestCase(test.CementTestCase):
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user