Skip to content
This repository was archived by the owner on Aug 11, 2024. It is now read-only.

Commit 545b5ac

Browse files
committed
Remove pymemcache from tests since it does not provide any stats.
1 parent 4f6ff28 commit 545b5ac

File tree

3 files changed

+11
-15
lines changed

3 files changed

+11
-15
lines changed

memcache_status/tests/testapp/settings.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@
3030
'LOCATION': '127.0.0.1:11211',
3131
},
3232

33-
'django-pymemcache': {
34-
'BACKEND': 'djpymemcache.backend.PyMemcacheCache',
35-
'LOCATION': '127.0.0.1:11211',
36-
},
33+
# pymemcache does not provide any stats.
34+
# 'django-pymemcache': {
35+
# 'BACKEND': 'djpymemcache.backend.PyMemcacheCache',
36+
# 'LOCATION': '127.0.0.1:11211',
37+
# },
3738
}
3839

3940
CACHE_LABEL = os.environ.get('TEST_CACHE_BACKEND', 'python-memcached')

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ multi_line_output = 0
4141
skip = migrations
4242

4343
[coverage:run]
44-
source = eventlog
44+
source = memcache_status
4545
branch = True
4646
omit =
4747
memcache_status/tests/*

tox.ini

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ skip_missing_interpreters=True
44
envlist =
55
readme
66
coverage_setup
7-
py{27}-django-{111}-{regular,debugtoolbar}-{memcached,pylibmc,pymemcache}
8-
py{34,35,36,37}-django-{111,20}-{regular,debugtoolbar}-{memcached,pylibmc,pymemcache}
9-
py{35,36,37}-django-{21}-{regular,debugtoolbar}-{memcached,pylibmc,pymemcache}
7+
py{27}-django-{111}-{regular,debugtoolbar}-{memcached,pylibmc}
8+
py{34,35,36,37}-django-{111,20}-{regular,debugtoolbar}-{memcached,pylibmc}
9+
py{35,36,37}-django-{21}-{regular,debugtoolbar}-{memcached,pylibmc}
1010
coverage_report
1111

1212

@@ -22,17 +22,12 @@ commands=
2222
coverage run --append runtests.py
2323
deps=
2424
coverage
25-
2625
memcached: python-memcached>=1.57
27-
2826
pylibmc: pylibmc
2927
pylibmc: django-pylibmc
30-
31-
pymemcache: pymemcache
32-
pymemcache: django-pymemcache
33-
28+
; pymemcache: pymemcache
29+
; pymemcache: django-pymemcache
3430
debugtoolbar: django-debug-toolbar
35-
3631
django-111: django==1.11.*
3732
django-20: django==2.0.*
3833
django-21: django==2.1.*

0 commit comments

Comments
 (0)