summaryrefslogtreecommitdiff
path: root/pymemcache/test/test_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Apply black formattingJoe Gordon2021-12-031-11/+13
| | | | https://black.readthedocs.io/en/stable/index.html
* Remove six dependency and run pyupgradeJoe Gordon2021-07-201-9/+5
| | | | | | | Now that we don't require Python 2 support no need for six. Code upgraded with pyupgrade and manual fixes to remove remaining six usage.
* Add prepend and append support to MockMemcacheClient (#261)Joe Gordon2019-12-171-0/+10
| | | | So that MockMemcacheClient is more complete and can be used for testing prepend and append cases.
* Handle unicode key values in MockMemcacheClient correctlyJoe Gordon2019-03-191-0/+9
| | | | | | | | The actual client tries to encode unicode and if it fails MemcacheIllegalInputError is raised. Fix the MockMemcacheClient to do the same thing. Fix bug #222
* Fix flake8 issuesJoe Gordon2017-11-271-4/+4
| | | | We previously weren't running flake8 on travis so a few issues got in.
* Have MockMemcacheClient support non-ascii strings (#169)Edward Lim2017-11-191-0/+33
| | | | | Allow binary strings to be stored as-is in MockMemcachedClient The current MockMemcacheClient doesn't support storage of non-ascii strings as values, but the real Client does. This PR aims to close this gap between the mock and real clients.
* flake8 the testsJohn Anderson2015-06-201-0/+5
|
* Move to use pytest instead of noseJohn Anderson2015-06-191-13/+12
|
* Port to Python 3.3Julien Danjou2014-03-101-20/+26
|
* Run the core unit tests on the mock object as well.Julian Berman2013-09-091-0/+10
|
* Add a basic mock client.Julian Berman2013-09-021-0/+43