def test_getNextVersionNextPreRelease(self):
        now = date.today()
        version = Version("twisted", 3, 9, 1, 1)
        self.assertEqual(
            getNextVersion(version, prerelease=True, patch=False, today=now),
            Version("twisted", 3, 9, 1, 2))
Test has_at_least_one_key validator.
dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_release.py/ChangeVersionTests.test_getNextVersionNextPreRelease--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/helpers/test_config_validation.py/test_has_at_least_one_key