Skip to content

Commit

Permalink
remove lanl from python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmurariu committed May 23, 2024
1 parent 9b9d9ae commit 59555a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
5 changes: 0 additions & 5 deletions python/python/raphtory/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
except Exception as e:
print(e)

try:
sys.modules["raphtory.lanl"] = lanl
except Exception as e:
print(e)

from .nullmodels import *
from .plottingutils import *

Expand Down
33 changes: 0 additions & 33 deletions python/tests/test_arrowgraph.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
from raphtory import ArrowGraph
from raphtory.lanl import (
lanl_query1,
lanl_query2,
lanl_query3,
lanl_query3b,
lanl_query3c,
lanl_query4,
exfilteration_query1,
exfilteration_count_query_total,
exfiltration_list_query_count,
)
from raphtory import algorithms
from utils import measure
import tempfile
Expand Down Expand Up @@ -85,16 +74,6 @@ def test_arrow_graph():
assert g.earliest_time == 7257601
assert g.latest_time == 7343985

assert measure("Query 1", lanl_query1, g) == 0
assert measure("Query 2", lanl_query2, g) == 0
assert measure("Query 3", lanl_query3, g) == 0
assert measure("Query 3b", lanl_query3b, g) == 0
# assert(measure("Query 3c", lanl_query3c, g) == 0)
assert measure("Query 4", lanl_query4, g) == 0

# assert (measure("CC", algorithms.connected_components, g, print_result=False)[:10] == [0, 1, 2, 3, 4, 5, 6, 7, 8,
# 9])

actual = measure(
"Weakly CC Layer",
algorithms.weakly_connected_components,
Expand All @@ -112,15 +91,3 @@ def test_arrow_graph():
"Page Rank", algorithms.pagerank, g.layer("netflow"), 100, print_result=False
)
assert len(list(actual.get_all_with_names())) == 1624

assert measure("Exfilteration Query 1", exfilteration_query1, g) == 0
assert (
measure(
"Exfilteration Count Query Total", exfilteration_count_query_total, g, 30
)
== 0
)
assert (
measure("Exfilteration List Query Count", exfiltration_list_query_count, g, 30)
== 0
)

0 comments on commit 59555a7

Please sign in to comment.