henry3260 opened a new pull request, #11992: URL: https://github.com/apache/gravitino/pull/11992
### What changes were proposed in this pull request? This PR refactors duplicated Python client unit test fixtures for relational table metadata. The duplicated table and identity partition JSON fixtures are moved into shared test fixture helpers under `tests/unittests/fixtures/table_fixtures.py`. Related unit tests now reuse these shared fixtures instead of embedding large repeated JSON strings directly in each test file. ### Why are the changes needed? Several Python client unit tests duplicated the same table and partition JSON payloads, which contributes to the remaining `duplicate-code` Pylint violations tracked by #3767. Centralizing these fixtures makes the tests easier to maintain and reduces duplicated test data without changing the tested behavior. Related to #3767. ### Does this PR introduce *any* user-facing change? No. This change only refactors Python client unit test fixtures. ### How was this patch tested? ```bash git diff --cached --check -- 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]
