def test_get_item_base_filters(self):
        """
        REST Api: Test get item with base filters
        """
        client = self.app.test_client()
        token = self.login(client, USERNAME_ADMIN, PASSWORD_ADMIN)

        with model1_data(self.appbuilder.session, 5):
            # We can't get a base filtered item
            filtered_model_id = (
                self.appbuilder.session.query(Model1)
                .filter(Model1.field_integer == 4)
                .one_or_none()
                .id
            )
            rv = self.auth_client_get(
                client, token, f"api/v1/model1apifiltered/{filtered_model_id}"
            )
            self.assertEqual(rv.status_code, 404)
            model_id = (
                self.appbuilder.session.query(Model1)
                .filter(Model1.field_integer == 3)
                .one_or_none()
                .id
            )
            rv = self.auth_client_get(
                client, token, f"api/v1/model1apifiltered/{model_id}"
            )
            self.assertEqual(rv.status_code, 200)

        REST Api: Test get item with base filters
        
tests/test_api.py