260 | @@ -267,6 +261,12 @@ def run_test(self):
261 | self.log.info(f"Creating a UTXO snapshot at height {SNAPSHOT_BASE_HEIGHT}")
262 | dump_output = n0.dumptxoutset('utxos.dat')
263 |
264 | + # Test special case where the tip of the node is on the same block as
265 | + # the snapshot
266 | + assert_equal(n0.getblockcount(), SNAPSHOT_BASE_HEIGHT)
267 | + assert_equal(n0.getblockchaininfo()["blocks"], SNAPSHOT_BASE_HEIGHT)
268 | + self.test_snapshot_with_less_work(dump_output['path'])
nit: Would this be less than or equal to? (equal to in this case).
I think it's fine to keep the function name as is. The comment (now a log) provides the necessary context and I think it's just a special edge case of the less work behavior.