def test_get_item_not_found(self):
        """
        REST Api: Test get item not found
        """
        client = self.app.test_client()
        token = self.login(client, USERNAME_ADMIN, PASSWORD_ADMIN)
        with model1_data(self.appbuilder.session, 1):
            model_id = self.appbuilder.session.query(func.max(Model1.id)).scalar() + 1
            rv = self.auth_client_get(client, token, f"api/v1/model1api/{model_id}")
            self.assertEqual(rv.status_code, 404)

        REST Api: Test get item not found
        
tests/test_api.py