Skip to content

Commit 6c0e4b4

Browse files
committed
Mark arrow write tests as db_integration
1 parent bd50913 commit 6c0e4b4

18 files changed

+18
-0
lines changed

graphdatascience/tests/integrationV2/procedure_surface/arrow/test_articlerank_arrow_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def test_articlerank_mutate(articlerank_endpoints: ArticleRankArrowEndpoints, sa
9090
assert result.node_properties_written == 3
9191

9292

93+
@pytest.mark.db_integration
9394
def test_articlerank_write(
9495
arrow_client: AuthenticatedArrowClient, query_runner: QueryRunner, db_graph: GraphV2
9596
) -> None:

graphdatascience/tests/integrationV2/procedure_surface/arrow/test_articulationpoints_arrow_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ def test_articulationpoints_stream_not_implemented(
9292
articulationpoints_endpoints.stream(sample_graph)
9393

9494

95+
@pytest.mark.db_integration
9596
def test_articulationpoints_write(
9697
arrow_client: AuthenticatedArrowClient, query_runner: QueryRunner, db_graph: GraphV2
9798
) -> None:

graphdatascience/tests/integrationV2/procedure_surface/arrow/test_betweenness_arrow_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def test_betweenness_mutate(betweenness_endpoints: BetweennessArrowEndpoints, sa
9090
assert result.node_properties_written == 3
9191

9292

93+
@pytest.mark.db_integration
9394
def test_betweenness_write(
9495
arrow_client: AuthenticatedArrowClient, query_runner: QueryRunner, db_graph: GraphV2
9596
) -> None:

graphdatascience/tests/integrationV2/procedure_surface/arrow/test_celf_arrow_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def test_celf_mutate(celf_endpoints: CelfArrowEndpoints, sample_graph: GraphV2)
8383
assert isinstance(result.configuration, dict)
8484

8585

86+
@pytest.mark.db_integration
8687
def test_celf_write(arrow_client: AuthenticatedArrowClient, query_runner: QueryRunner, db_graph: GraphV2) -> None:
8788
endpoints = CelfArrowEndpoints(arrow_client, RemoteWriteBackClient(arrow_client, query_runner))
8889
result = endpoints.write(G=db_graph, seed_set_size=2, write_property="celf_spread")

graphdatascience/tests/integrationV2/procedure_surface/arrow/test_closeness_arrow_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def test_closeness_mutate(closeness_endpoints: ClosenessArrowEndpoints, sample_g
8484
assert "p50" in result.centrality_distribution
8585

8686

87+
@pytest.mark.db_integration
8788
def test_closeness_write(arrow_client: AuthenticatedArrowClient, query_runner: QueryRunner, db_graph: GraphV2) -> None:
8889
endpoints = ClosenessArrowEndpoints(arrow_client, RemoteWriteBackClient(arrow_client, query_runner))
8990
result = endpoints.write(G=db_graph, write_property="closeness")

graphdatascience/tests/integrationV2/procedure_surface/arrow/test_closeness_harmonic_arrow_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def test_closeness_harmonic_mutate(
9393
assert "p50" in result.centrality_distribution
9494

9595

96+
@pytest.mark.db_integration
9697
def test_closeness_harmonic_write(
9798
arrow_client: AuthenticatedArrowClient, query_runner: QueryRunner, db_graph: GraphV2
9899
) -> None:

graphdatascience/tests/integrationV2/procedure_surface/arrow/test_degree_arrow_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def test_degree_mutate(degree_endpoints: DegreeArrowEndpoints, sample_graph: Gra
8181
assert isinstance(result.configuration, dict)
8282

8383

84+
@pytest.mark.db_integration
8485
def test_degree_write(arrow_client: AuthenticatedArrowClient, query_runner: QueryRunner, db_graph: GraphV2) -> None:
8586
endpoints = DegreeArrowEndpoints(arrow_client, RemoteWriteBackClient(arrow_client, query_runner))
8687
result = endpoints.write(G=db_graph, write_property="degree")

graphdatascience/tests/integrationV2/procedure_surface/arrow/test_eigenvector_arrow_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def test_eigenvector_mutate(eigenvector_endpoints: EigenvectorArrowEndpoints, sa
9393
assert "p50" in result.centrality_distribution
9494

9595

96+
@pytest.mark.db_integration
9697
def test_eigenvector_write(
9798
arrow_client: AuthenticatedArrowClient, query_runner: QueryRunner, db_graph: GraphV2
9899
) -> None:

graphdatascience/tests/integrationV2/procedure_surface/arrow/test_fastrp_arrow_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def test_fastrp_mutate(fastrp_endpoints: FastRPArrowEndpoints, sample_graph: Gra
9393
assert result.configuration is not None
9494

9595

96+
@pytest.mark.db_integration
9697
def test_fastrp_write(arrow_client: AuthenticatedArrowClient, query_runner: QueryRunner, db_graph: GraphV2) -> None:
9798
endpoints = FastRPArrowEndpoints(arrow_client, RemoteWriteBackClient(arrow_client, query_runner))
9899
result = endpoints.write(G=db_graph, write_property="fastrp_embedding", embedding_dimension=32)

graphdatascience/tests/integrationV2/procedure_surface/arrow/test_graphsage_predict_arrow_endpoints.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def test_mutate(gs_model: GraphSageModelV2, sample_graph: GraphV2) -> None:
8383
assert result.node_properties_written == 4
8484

8585

86+
@pytest.mark.db_integration
8687
def test_write(arrow_client: AuthenticatedArrowClient, query_runner: QueryRunner, db_graph: GraphV2) -> None:
8788
model, _ = GraphSageTrainArrowEndpoints(arrow_client, RemoteWriteBackClient(arrow_client, query_runner)).train(
8889
G=db_graph,

0 commit comments

Comments
 (0)