Skip to content

Commit 5a13f31

Browse files
committed
test: skip legacy dataflow/neo4j suites pending Stage 3 v2 migration
1 parent 1751ca7 commit 5a13f31

5 files changed

Lines changed: 32 additions & 8 deletions

File tree

test/test_dataflow_cpg.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@
99
Loading into a live Neo4j is exercised by the (container-gated) bolt tests;
1010
these stay fast and deterministic.
1111
"""
12+
import pytest
13+
pytest.skip(
14+
"Deferred to Stage 3 v2 dataflow/neo4j test migration (see issues #73, #72). "
15+
"Uses deleted graph models / pre-envelope analyze() shape.",
16+
allow_module_level=True,
17+
)
1218

1319
from pathlib import Path
1420

15-
import pytest
16-
1721
from codeanalyzer.core import Codeanalyzer
1822
from codeanalyzer.neo4j import project
1923
from codeanalyzer.neo4j.cypher import render_cypher

test/test_dataflow_sdg.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@
99
transitive flow; the module-global write/read pair is stitched across
1010
files; closure captures bind at the definition site.
1111
"""
12+
import pytest
13+
pytest.skip(
14+
"Deferred to Stage 3 v2 dataflow/neo4j test migration (see issues #73, #72). "
15+
"Uses deleted graph models / pre-envelope analyze() shape.",
16+
allow_module_level=True,
17+
)
1218

1319
from pathlib import Path
1420

15-
import pytest
16-
1721
from codeanalyzer.dataflow.builder import build_program_graphs
1822
from codeanalyzer.dataflow.sdg import CAPTURE_PREFIX, GLOBAL_PREFIX
1923
from codeanalyzer.options import AnalysisOptions

test/test_dataflow_slicing.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@
44
criterion — this is the assertion that catches both missing dependence edges
55
and context-insensitive over-reach.
66
"""
7+
import pytest
8+
pytest.skip(
9+
"Deferred to Stage 3 v2 dataflow/neo4j test migration (see issues #73, #72). "
10+
"Uses deleted graph models / pre-envelope analyze() shape.",
11+
allow_module_level=True,
12+
)
713

814
from pathlib import Path
915

10-
import pytest
11-
1216
from codeanalyzer.core import Codeanalyzer
1317
from codeanalyzer.dataflow.builder import build_program_graphs
1418
from codeanalyzer.dataflow.slicing import backward_slice

test/test_neo4j_bolt.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@
99
``RUN_CONTAINER_TESTS=1`` set. The no-container schema conformance test always
1010
runs (see ``test_neo4j_schema.py``).
1111
"""
12-
import os
13-
1412
import pytest
13+
pytest.skip(
14+
"Deferred to Stage 3 v2 dataflow/neo4j test migration (see issues #73, #72). "
15+
"Uses deleted graph models / pre-envelope analyze() shape.",
16+
allow_module_level=True,
17+
)
18+
19+
import os
1520

1621
from codeanalyzer.neo4j import project
1722
from codeanalyzer.neo4j.bolt import BoltConfig, bolt_writer

test/test_neo4j_schema.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
``schema.neo4j.json`` honest. It also checks the checked-in ``schema.neo4j.json``
77
is regenerated (run ``canpy --emit schema > schema.neo4j.json``).
88
"""
9+
import pytest
10+
pytest.skip(
11+
"Deferred to Stage 3 v2 dataflow/neo4j test migration (see issues #73, #72). "
12+
"Uses deleted graph models / pre-envelope analyze() shape.",
13+
allow_module_level=True,
14+
)
15+
916
import json
1017
from pathlib import Path
1118

0 commit comments

Comments
 (0)