tests/test_pair_probe.py: a shared address that is no box's

The test of the address kinds took this box's own Tailscale address as
its shared one, and the pre-push gate keeps that address out of what a
push adds. Any address of 100.64.0.0/10 is shared, so one that names no
box tests the same thing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hasan BasbunarandClaude Opus 5.5 committed 2026-10-29 03:45:38 +01:00
1 parent 8dd025d3cb
commit 90bb7726ec
1 file changed
+1 -1
+1 -1
View File
@@ -74,7 +74,7 @@ def commands(answers):
class Masking(unittest.TestCase):
def test_an_address_is_only_its_kind(self):
self.assertEqual([P.ip_kind(a) for a in ("192.168.100.2", "10.0.0.7/24", "172.20.1.1", "169.254.3.4",
"100.114.54.60", "8.8.8.8", "127.0.0.1", "not-an-ip")],
"100.64.12.34", "8.8.8.8", "127.0.0.1", "not-an-ip")],
["private", "private", "private", "link-local", "shared", "public", "loopback", "unknown"])
def test_what_names_the_box_or_its_owner_goes(self):