kevinw66 commented on code in PR #12182:
URL: https://github.com/apache/gravitino/pull/12182#discussion_r3645144788
##########
clients/client-python/tests/unittests/test_generic_view.py:
##########
@@ -18,13 +18,23 @@
import unittest
from gravitino.api.rel.dialects import Dialects
+from gravitino.api.tag.supports_tags import SupportsTags
from gravitino.client.generic_view import GenericView
from gravitino.dto.audit_dto import AuditDTO
from gravitino.dto.rel.sql_representation_dto import SQLRepresentationDTO
from gravitino.dto.rel.view_dto import ViewDTO
+from gravitino.namespace import Namespace
+from gravitino.utils.http_client import HTTPClient
class TestGenericView(unittest.TestCase):
+ _rest_client = HTTPClient("http://localhost:8080")
+ _view_namespace = Namespace.of(
Review Comment:
This follows the existing Python client unit-test pattern used by
`GenericModel`, `GenericSchema`, `GenericColumn`, and `RelationalTable`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]