{"html_url": "https://github.com/simonw/datasette/issues/438#issuecomment-488554835", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/438", "id": 488554835, "node_id": "MDEyOklzc3VlQ29tbWVudDQ4ODU1NDgzNQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-02T05:09:18Z", "updated_at": "2019-05-02T05:09:18Z", "author_association": "OWNER", "body": "https://docs.pytest.org/en/latest/example/simple.html#detect-if-running-from-within-a-pytest-run", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 438200529, "label": "Plugins are loaded when running pytest"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/438#issuecomment-488370672", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/438", "id": 488370672, "node_id": "MDEyOklzc3VlQ29tbWVudDQ4ODM3MDY3Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-05-01T18:33:57Z", "updated_at": "2019-05-01T18:33:57Z", "author_association": "OWNER", "body": "Yeah this is a good call. Having pytest set some kind of flag (maybe an environment variable?) that disables auto-plugin discovery is a very reasonable fix here.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 438200529, "label": "Plugins are loaded when running pytest"}, "performed_via_github_app": null}