summaryrefslogtreecommitdiff
path: root/tests/integration
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-02 03:09:20 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-02 03:09:20 +0100
commit1f26001944702312c9ae7d7a047589543cbf8e30 (patch)
tree1d2e7f164b1a5605d5464137bd84fb53bbe88a91 /tests/integration
parent2b87dc1c3d64b5fdcf1bd82234ab57619f82f015 (diff)
Remove tracker id from stats, as well
Diffstat (limited to 'tests/integration')
-rw-r--r--tests/integration/test_stats.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/integration/test_stats.py b/tests/integration/test_stats.py
index 74f6d47..088d8a1 100644
--- a/tests/integration/test_stats.py
+++ b/tests/integration/test_stats.py
@@ -66,6 +66,12 @@ class StatsShape(TrackerTestCase):
66 def test_everything_does_not_name_the_build(self): 66 def test_everything_does_not_name_the_build(self):
67 self.assertNotIn(b"opentracker 1", self.tracker.stats("everything")) 67 self.assertNotIn(b"opentracker 1", self.tracker.stats("everything"))
68 68
69 def test_everything_does_not_name_the_tracker_id(self):
70 """The id a tracker recognises its own live sync packets by. Knowing
71 it is of no use to a client and of some use to whoever would like a
72 tracker to discard what it is told."""
73 self.assertNotIn(b"tracker_id", self.tracker.stats("everything"))
74
69 75
70class StatsCount(TrackerTestCase): 76class StatsCount(TrackerTestCase):
71 def test_the_torrent_count_follows_the_torrents(self): 77 def test_the_torrent_count_follows_the_torrents(self):