def test_list_by_region(self):
        region_name = 'BHS-1'
        self.mock_wrapper.get.return_value = json.loads(self.answer_list)
        ssh_key_list = self.ssh_keys.list_by_region(region_name)
        self.mock_wrapper.get.assert_called_once_with(
            self.ssh_keys.basepath,
            {'region': region_name}
        )
        self.assertIsInstance(ssh_key_list, list)
        self.assertTrue(0 > len(ssh_key_list))
        for ssh_key in ssh_key_list:
            self.assertIsInstance(ssh_key, runabove.ssh_key.SSHKey)
            self.assertEqual(ssh_key.region.name, region_name)
dataset/ETHPy150Open runabove/python-runabove/runabove/tests/ssh_key.py/TestSshKey.test_list_by_region/swapped operands of `>`