def test__get_agents_resource_versions(self):
        tracker = mock.Mock()
        self._create_and_save_agents(
            [i % 'host-%d' for i in range(5)],
            constants.AGENT_TYPE_L3,
            down_agents_count=3,
            down_but_version_considered=2)
        self.plugin._get_agents_resource_versions(tracker)
        self.assertEqual(tracker.set_versions.call_count, 2)
dataset/ETHPy150Open openstack/neutron/neutron/tests/unit/db/test_agents_db.py/TestAgentsDbMixin.test__get_agents_resource_versions/swapped operands of `%`