Skip to content

Commit

Permalink
Add case for when AS path ends on a peer
Browse files Browse the repository at this point in the history
  • Loading branch information
quantum5 committed Nov 1, 2024
1 parent e75dd1a commit e51cb3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aspa/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]))

Expand Down

0 comments on commit e51cb3e

Please sign in to comment.