From e51cb3edb5378548209a46478b9ca11185ae012f Mon Sep 17 00:00:00 2001 From: Quantum Date: Thu, 31 Oct 2024 21:13:45 -0400 Subject: [PATCH] Add case for when AS path ends on a peer --- aspa/test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aspa/test.py b/aspa/test.py index 4b2fc98..8f8019c 100644 --- a/aspa/test.py +++ b/aspa/test.py @@ -118,6 +118,7 @@ def test_all_valid(self): def test_valid_edge(self): self.assertFalse(self.validator.is_aspa_invalid_upstream(64530, [64520, 64510])) + self.assertFalse(self.validator.is_aspa_invalid_upstream(64530, [64520, 64521])) self.assertFalse(self.validator.is_aspa_invalid_upstream(64530, [64520])) self.assertFalse(self.validator.is_aspa_invalid_upstream(64520, [64510]))