Merge "Fix task tests under py3"
This commit is contained in:
commit
902505e98b
@ -91,7 +91,7 @@ class PeriodicTest(TaskTest):
|
||||
central.find_zones.return_value = items
|
||||
|
||||
# Iterate through the items causing the "paging" to be done.
|
||||
map(lambda i: next(iterer), items)
|
||||
list(map(lambda i: next(iterer), items))
|
||||
central.find_zones.assert_called_once_with(
|
||||
ctxt, {"shard": "BETWEEN 0,9"}, limit=100)
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
# Blacklist of tests failing on Python 3
|
||||
designate.tests.unit.test_producer.test_tasks
|
2
tox.ini
2
tox.ini
@ -35,7 +35,7 @@ commands =
|
||||
[testenv:py35]
|
||||
commands =
|
||||
{[testenv]commands}
|
||||
ostestr --blacklist_file=tests-py3.txt '{posargs}'
|
||||
ostestr '{posargs}'
|
||||
|
||||
[testenv:docs]
|
||||
commands = rm -rf doc/build
|
||||
|
Loading…
x
Reference in New Issue
Block a user