()
| 27 | |
| 28 | @pytest.fixture(scope="module") |
| 29 | def graphscope_session(): |
| 30 | graphscope.set_option(show_log=True) |
| 31 | graphscope.set_option(log_level="DEBUG") |
| 32 | if os.environ.get("DEPLOYMENT", None) == "standalone": |
| 33 | sess = graphscope.session(cluster_type="hosts", num_workers=1) |
| 34 | else: |
| 35 | sess = graphscope.session(cluster_type="hosts") |
| 36 | sess.as_default() |
| 37 | yield sess |
| 38 | sess.close() |
| 39 | |
| 40 | |
| 41 | def pytest_collection_modifyitems(items): |
nothing calls this directly
no test coverage detected