Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

compare by natural key #142

Open
tumb1er opened this issue Aug 21, 2024 · 0 comments
Open

compare by natural key #142

tumb1er opened this issue Aug 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tumb1er
Copy link
Contributor

tumb1er commented Aug 21, 2024

Our API uses custom natural key, i.e. oid = "person:42".

But some tests compare retrieved objects by primary keys.

  • test_retrieve_object_smoke
  • assert_object_list

Add method get_natural_key(obj) and use it for object identification.

@tumb1er tumb1er added the enhancement New feature or request label Aug 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant