{"id":22121054,"url":"https://github.com/pytest-with-eric/pytest-mocking-vs-patching-example","last_synced_at":"2025-07-09T05:04:32.431Z","repository":{"id":237485237,"uuid":"794525404","full_name":"Pytest-with-Eric/pytest-mocking-vs-patching-example","owner":"Pytest-with-Eric","description":"Mocking Vs. Patching (A Quick Guide For Beginners)","archived":false,"fork":false,"pushed_at":"2024-05-02T10:42:45.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-24T06:52:41.086Z","etag":null,"topics":["mocking-vs-patching","pytest-mocking","pytest-patch"],"latest_commit_sha":null,"homepage":"https://pytest-with-eric.com/mocking/mocking-vs-patching/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pytest-with-Eric.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-01T11:32:11.000Z","updated_at":"2024-05-02T10:43:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c6709d2-69fe-4891-b53e-b9304e9c6696","html_url":"https://github.com/Pytest-with-Eric/pytest-mocking-vs-patching-example","commit_stats":null,"previous_names":["pytest-with-eric/pytest-mocking-vs-patching-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Pytest-with-Eric/pytest-mocking-vs-patching-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Fpytest-mocking-vs-patching-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Fpytest-mocking-vs-patching-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Fpytest-mocking-vs-patching-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Fpytest-mocking-vs-patching-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pytest-with-Eric","download_url":"https://codeload.github.com/Pytest-with-Eric/pytest-mocking-vs-patching-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Fpytest-mocking-vs-patching-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264396622,"owners_count":23601541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mocking-vs-patching","pytest-mocking","pytest-patch"],"created_at":"2024-12-01T14:33:21.850Z","updated_at":"2025-07-09T05:04:32.413Z","avatar_url":"https://github.com/Pytest-with-Eric.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Pytest Mocking vs Patching Example\nThis repo contains the sample code for the article - [Mocking Vs. Patching (A Quick Guide For Beginners)](https://pytest-with-eric.com/mocking/mocking-vs-patching/)\n\n# Requirements\n* Python (3.12+)\n\nPlease install the dependencies via the `requirements.txt` file using \n```bash\npip install -r requirements.txt\n```\nIf you don't have Pip installed, please follow instructions online on how to do it.\n\n# How To Run the Unit Tests\nTo run the Unit Tests from the root of the repo, run\n```bash\npytest\n```\n\nIf you have any questions about the project, please raise an Issue on GitHub. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-with-eric%2Fpytest-mocking-vs-patching-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytest-with-eric%2Fpytest-mocking-vs-patching-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-with-eric%2Fpytest-mocking-vs-patching-example/lists"}