aboutsummaryrefslogtreecommitdiffstats
path: root/selftest
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-09-14 17:39:35 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-09-14 17:41:47 +0200
commite9f6917f3229f67958c503943cd4d934d4a514fc (patch)
tree00e15df35b2d9d7e8b7dfd940c1cc29a748da88e /selftest
parente5faa3bf2046efcfc7412299887f802c15a413b8 (diff)
resource: find: replicate_times() is not needed anymore
Resources are expanded before this point, so we don't need to expand them here. Change-Id: I12a5349f9377dc8a24cb2afbe33c2401eeed0660
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/resource_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/resource_test.py b/selftest/resource_test.py
index 664f076..52d8e47 100755
--- a/selftest/resource_test.py
+++ b/selftest/resource_test.py
@@ -80,7 +80,7 @@ want = {
origin = log.Origin(None, 'testowner')
-resources = pool.reserve(origin, want)
+resources = pool.reserve(origin, config.replicate_times(want))
print('~~~ currently reserved:')
with open(rrfile, 'r') as f: