{"id":22121421,"url":"https://github.com/ericsalesdeandrade/pytest-assert-exception-example","last_synced_at":"2025-03-24T06:45:39.779Z","repository":{"id":178243213,"uuid":"659629950","full_name":"ericsalesdeandrade/pytest-assert-exception-example","owner":"ericsalesdeandrade","description":"How To Test Python Exception Handling Using Pytest Assert (A Simple Guide)","archived":false,"fork":false,"pushed_at":"2023-07-06T06:33:20.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T12:32:03.006Z","etag":null,"topics":["exception-handling","pytest-assert","pytest-assert-exception","python-exception-handling","python-exceptions"],"latest_commit_sha":null,"homepage":"https://pytest-with-eric.com/introduction/pytest-assert-exception/","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/ericsalesdeandrade.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":"2023-06-28T08:26:51.000Z","updated_at":"2023-09-30T16:10:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"acd8bb09-0428-45e9-9d15-d7ed9c1a0498","html_url":"https://github.com/ericsalesdeandrade/pytest-assert-exception-example","commit_stats":null,"previous_names":["ericsalesdeandrade/pytest-assert-exception-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericsalesdeandrade%2Fpytest-assert-exception-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericsalesdeandrade%2Fpytest-assert-exception-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericsalesdeandrade%2Fpytest-assert-exception-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericsalesdeandrade%2Fpytest-assert-exception-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericsalesdeandrade","download_url":"https://codeload.github.com/ericsalesdeandrade/pytest-assert-exception-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245224256,"owners_count":20580365,"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":["exception-handling","pytest-assert","pytest-assert-exception","python-exception-handling","python-exceptions"],"created_at":"2024-12-01T14:39:38.533Z","updated_at":"2025-03-24T06:45:39.750Z","avatar_url":"https://github.com/ericsalesdeandrade.png","language":"Python","readme":"# PyTest Assert Exception Example\n\nThis repo contains the sample code for the article - [How To Test Python Exception Handling Using Pytest Assert (A Simple Guide)](https://pytest-with-eric.com/introduction/pytest-assert-exception/)\n\nThis project explains How to assert Python Exceptions in Pytest.\n\n# Requirements\n* Python (3.11.3)\n\nPlease install the dependencies via the `requirements.txt` file using \n```commandline\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```commandline\npytest -v -s\n```\n\nIf you have any questions about the project please raise an Issue on GitHub. ","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsalesdeandrade%2Fpytest-assert-exception-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericsalesdeandrade%2Fpytest-assert-exception-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsalesdeandrade%2Fpytest-assert-exception-example/lists"}