def then_i_collect_and_remember_dht_statistic(step): world.stat = primitives.print_ranges(world.addresses, world.stat_f_obj)
def then_i_collect_dht_statistic_and_check(step): stat = primitives.print_ranges(world.addresses, world.stat_f_obj) if stat != world.stat: raise Exception('DHT ranges are invalid...')
def then_i_collect_dht_statistic(step): primitives.print_ranges(world.addresses, world.stat_f_obj)