Skip to content

Commit

Permalink
enable extend test
Browse files Browse the repository at this point in the history
  • Loading branch information
siyuan0322 committed Dec 13, 2023
1 parent 280f324 commit 2282976
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions python/graphscope/tests/unittest/test_create_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,16 +426,6 @@ def test_error_on_ambigious_default_label(
graph = graph.add_edges(student_group_e, "group")


def test_error_on_duplicate_labels(graphscope_session, student_group_e, student_v):
graph = graphscope_session.g()
graph = graph.add_vertices(student_v, "student")
with pytest.raises(ValueError, match="Label student already existed in graph"):
graph = graph.add_vertices(student_v, "student")
graph = graph.add_edges(student_group_e, "group")
with pytest.raises(ValueError, match="already existed in graph"):
graph = graph.add_edges(student_group_e, "group")


def test_load_complex_graph(
graphscope_session,
score_e,
Expand Down
1 change: 0 additions & 1 deletion python/graphscope/tests/unittest/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ def test_add_vertices_edges(graphscope_session):
assert graph.schema.edge_labels == ["knows", "created"]


@pytest.mark.skip("unlock this when update")
def test_extend_vertices_edges(graphscope_session):
prefix = os.path.expandvars("${GS_TEST_DIR}/")
verts = pd.read_csv(f"{prefix}/p2p_v.csv")
Expand Down

0 comments on commit 2282976

Please sign in to comment.