{"id":22121082,"url":"https://github.com/pytest-with-eric/pytest-fixture-autouse-example","last_synced_at":"2025-09-19T01:45:03.743Z","repository":{"id":205487885,"uuid":"713441342","full_name":"Pytest-with-Eric/pytest-fixture-autouse-example","owner":"Pytest-with-Eric","description":"How to Auto-Request Pytest Fixtures Using \"Autouse\"","archived":false,"fork":false,"pushed_at":"2023-11-15T06:36:14.000Z","size":10,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T06:52:42.886Z","etag":null,"topics":["fixture-scope","pytest-fixture-autouse","pytest-fixtures"],"latest_commit_sha":null,"homepage":"https://pytest-with-eric.com/pytest-advanced/pytest-fixture-autouse/","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":"2023-11-02T14:26:13.000Z","updated_at":"2023-11-15T06:36:45.000Z","dependencies_parsed_at":"2024-12-01T14:44:11.546Z","dependency_job_id":null,"html_url":"https://github.com/Pytest-with-Eric/pytest-fixture-autouse-example","commit_stats":null,"previous_names":["aminul-97/pytest-fixture-autouse-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Pytest-with-Eric/pytest-fixture-autouse-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Fpytest-fixture-autouse-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Fpytest-fixture-autouse-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Fpytest-fixture-autouse-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Fpytest-fixture-autouse-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-fixture-autouse-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pytest-with-Eric%2Fpytest-fixture-autouse-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275867538,"owners_count":25542801,"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","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fixture-scope","pytest-fixture-autouse","pytest-fixtures"],"created_at":"2024-12-01T14:33:41.729Z","updated_at":"2025-09-19T01:45:03.675Z","avatar_url":"https://github.com/Pytest-with-Eric.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pytest Fixture Autouse Example\nThis repo contains the sample code for the article - [How to Auto-Request Pytest Fixtures Using \"Autouse\"](https://pytest-with-eric.com/pytest-advanced/pytest-fixture-autouse/).\n\nThe article explains how to use the `autouse` parameter of the `@pytest.fixture` decorator to automatically request a fixture for all tests in a module.\n\n# Requirements\n* Python (3.11+)\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 -v\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-fixture-autouse-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytest-with-eric%2Fpytest-fixture-autouse-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytest-with-eric%2Fpytest-fixture-autouse-example/lists"}