()
| 35 | |
| 36 | @pytest.fixture(scope="module") |
| 37 | def graphscope_session(): |
| 38 | graphscope.set_option(show_log=True) |
| 39 | graphscope.set_option(log_level="DEBUG") |
| 40 | if os.environ.get("DEPLOYMENT", None) == "standalone": |
| 41 | sess = graphscope.session(cluster_type="hosts", num_workers=1) |
| 42 | else: |
| 43 | sess = graphscope.session(cluster_type="hosts") |
| 44 | yield sess |
| 45 | sess.close() |
| 46 | |
| 47 | |
| 48 | test_repo_dir = os.path.expandvars("${GS_TEST_DIR}") |
nothing calls this directly
no test coverage detected