rlee287 / pyautoupdate

An auto-update API for Python programs. ARCHIVED: The update mechanism here contains no guarantees about code integrity. You may want to look at TUF (The Update Framework) instead.
GNU Lesser General Public License v2.1
14 stars 2 forks source link

Mock internet requests instead of actually spawning connection #35

Open rlee287 opened 7 years ago

rlee287 commented 7 years ago

Feature Request

Description of feature: Use a mocking library to handle internet connection parts of the test

Rationale for feature: It is important to make sure that Pyautoupdate fails gracefully when it cannot connect to the internet. This will be necessary for unit testing #31.