commit 1fa8a32450072970986b1144347856b731aab595 Author: juga0 juga@riseup.net Date: Thu Mar 7 11:59:55 2019 +0000
new: tests: assert relay's in priority list increased
Part of #28567. --- tests/integration/lib/test_relayprioritizer.py | 1 + 1 file changed, 1 insertion(+)
diff --git a/tests/integration/lib/test_relayprioritizer.py b/tests/integration/lib/test_relayprioritizer.py index 76c5969..0cbc98e 100644 --- a/tests/integration/lib/test_relayprioritizer.py +++ b/tests/integration/lib/test_relayprioritizer.py @@ -65,5 +65,6 @@ def test_relayprioritizer_general(time_mock, sbwshome_empty, args, pos = i * -1 relay = best_list[pos] assert relay.nickname == nick + assert relay.relay_recent_priority_list_count == 1 finally: settings.end_event.set()
tor-commits@lists.torproject.org