35ee8df test_pagure_bot should not use network for tests

Authored and Committed by tflink 3 years ago
    test_pagure_bot should not use network for tests
    
    This is a relatively straight-forward change to do the following:
      * rework the setup fixture to do what is needed and no more
      * rename setup fixture function to be more descriptive
      * when appropriate, use stub data defined once that doesn't
        match real-world data
      * add setup fixture to all of the tests that were failing due to lack
        of network access
    
    With these changes, the tests are no longer reaching out to any pagure
    instances. They should run much faster and have no issues with external
    resources.
    
        
file modified
+89 -98