Skip to content

Add unit tests for the graph_builder module #200

Description

@NovaCode37

modules/graph_builder.py (build_graph) turns scan results into nodes and edges but has no dedicated tests.

Add tests that feed a small sample results dict into build_graph and assert:

  • the target node exists
  • expected nodes/edges are produced (e.g. an IP from geoip, subdomains from cert_transparency)
  • node ids are unique

Good first backend test.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions