At [1], ther is a misuse of assertGreaterEqual
self.assertGreaterEqual(6, len(fake_notifier.VERSIONED_NOTIFICATIONS),
It should be as follows:
self.assertGreaterEqual(len(fake_notifier.VERSIONED_NOTIFICATIONS), 6
https://github.com/openstack/nova/blob/db5caf2ff8f33e8b3e7f28f041127ee4ac8b1897/nova/tests/functional/notification_sample_tests/test_instance.py#L316-L317 [1] https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertGreaterEqual
At [1], ther is a misuse of assertGreaterEqual
self.assertGrea terEqual( 6, len(fake_ notifier. VERSIONED_ NOTIFICATIONS) ,
It should be as follows:
self.assertGrea terEqual( len(fake_ notifier. VERSIONED_ NOTIFICATIONS) , 6
https:/ /github. com/openstack/ nova/blob/ db5caf2ff8f33e8 b3e7f28f041127e e4ac8b1897/ nova/tests/ functional/ notification_ sample_ tests/test_ instance. py#L316- L317 [1] /docs.python. org/3/library/ unittest. html#unittest. TestCase. assertGreaterEq ual
https:/