Skip to content

Commit 993e88a

Browse files
committed
re-enable sync test that was skipped
Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 9371b53 commit 993e88a

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

tests/sync/test_sync_service.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -437,12 +437,6 @@ async def test_sync_entity_with_order_dependent_relations(
437437
entity_b = await sync_service.entity_service.repository.get_by_permalink("concept/entity-b")
438438
entity_c = await sync_service.entity_service.repository.get_by_permalink("concept/entity-c")
439439

440-
# Debug: print entity IDs and relations
441-
print(f"\nEntity IDs: A={entity_a.id}, B={entity_b.id}, C={entity_c.id}")
442-
print(f"Entity A outgoing relations: {[(rel.relation_type, rel.to_id, rel.to_name) for rel in entity_a.outgoing_relations]}")
443-
print(f"Entity B outgoing relations: {[(rel.relation_type, rel.to_id, rel.to_name) for rel in entity_b.outgoing_relations]}")
444-
print(f"Entity C outgoing relations: {[(rel.relation_type, rel.to_id, rel.to_name) for rel in entity_c.outgoing_relations]}")
445-
446440
# Verify outgoing relations by checking actual targets
447441
a_outgoing_targets = {rel.to_id for rel in entity_a.outgoing_relations}
448442
assert entity_b.id in a_outgoing_targets, f"A should depend on B. A's targets: {a_outgoing_targets}, B's ID: {entity_b.id}"
@@ -468,10 +462,6 @@ async def test_sync_entity_with_order_dependent_relations(
468462
assert entity_a.id in c_incoming_sources, "C should have incoming relation from A"
469463
assert entity_b.id in c_incoming_sources, "C should have incoming relation from B"
470464

471-
# Debug: print actual counts for troubleshooting
472-
print(f"Entity A: {len(entity_a.incoming_relations)} incoming, {len(entity_a.outgoing_relations)} outgoing")
473-
print(f"Entity B: {len(entity_b.incoming_relations)} incoming, {len(entity_b.outgoing_relations)} outgoing")
474-
print(f"Entity C: {len(entity_c.incoming_relations)} incoming, {len(entity_c.outgoing_relations)} outgoing")
475465

476466

477467
@pytest.mark.asyncio

0 commit comments

Comments
 (0)