bstinson / rpkg

Forked from rpkg 5 years ago
Clone

2308c60 Fix a bad test teardown

Authored and Committed by otaylor 5 years ago
    Fix a bad test teardown
    
    Calling .stop() on the mock object rather than the patcher left pyrpkg.log
    pointing to the mock object, which caused test_check_repo_has_namespace()
    to fail since it was expecting a particular message to be logged to stderr.
    
    Signed-off-by: Owen W. Taylor <otaylor@fishsoup.net>
    
        
file modified
+1 -1