Fix task tests under py3
This makes all the unit tests pass under python3 \o/ Change-Id: I6f145ece1b0ce12843e0b9754467a79f88770bdc
This commit is contained in:
parent
e0a670a030
commit
f54f76ceae
|
@ -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
|
Loading…
Reference in New Issue