{"id":13501409,"url":"https://github.com/untitaker/pytest-subtesthack","last_synced_at":"2025-10-21T19:03:32.519Z","repository":{"id":43664068,"uuid":"49343382","full_name":"untitaker/pytest-subtesthack","owner":"untitaker","description":"A hack to explicitly set up and tear down fixtures.","archived":true,"fork":false,"pushed_at":"2022-07-16T13:30:18.000Z","size":9,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T04:12:16.859Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/untitaker.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-09T22:10:43.000Z","updated_at":"2024-12-30T14:08:26.000Z","dependencies_parsed_at":"2022-08-27T20:11:25.175Z","dependency_job_id":null,"html_url":"https://github.com/untitaker/pytest-subtesthack","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untitaker%2Fpytest-subtesthack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untitaker%2Fpytest-subtesthack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untitaker%2Fpytest-subtesthack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untitaker%2Fpytest-subtesthack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/untitaker","download_url":"https://codeload.github.com/untitaker/pytest-subtesthack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246166904,"owners_count":20734357,"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":[],"created_at":"2024-07-31T22:01:36.428Z","updated_at":"2025-10-21T19:03:27.192Z","avatar_url":"https://github.com/untitaker.png","language":"Python","readme":"==================\npytest-subtesthack\n==================\n\nA hack to explicitly set up and tear down fixtures.\n\nThis terrible plugin allows you to set up and tear down fixtures *within* the\ntest function itself. This is useful (necessary!) for using `Hypothesis\n\u003chttps://github.com/DRMacIver/hypothesis\u003e`_ inside py.test, as hypothesis will\ncall the test function multiple times, without setting up or tearing down\nfixture state as is normally the case.\n\nInstallation::\n\n    pip install pytest-subtesthack\n\n...though the plugin is 32 lines of code, consider vendoring it.\n\nSee ``test_example.py`` for usage.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funtitaker%2Fpytest-subtesthack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funtitaker%2Fpytest-subtesthack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funtitaker%2Fpytest-subtesthack/lists"}