46934f2 Move settings all the routes in a dedicate function

Authored and Committed by pingou 5 years ago
    Move settings all the routes in a dedicate function
    
    This way it can be re-used in the tests.
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+11 -6