Skip to content

Allow creating record mock objects - #38

Draft
Callum027 wants to merge 1 commit into
mainfrom
callum/record-mock-objects
Draft

Allow creating record mock objects#38
Callum027 wants to merge 1 commit into
mainfrom
callum/record-mock-objects

Conversation

@Callum027

Copy link
Copy Markdown
Collaborator

Add the ability to instantiate record classes as mock record objects.

This makes it easier to write unit tests for code that uses the OpenStack Odoo Client library, by allowing the same record classes the library itself to be created and returned as values in mocked manager methods.

Add the ability to instantiate record classes as mock record objects.

This makes it easier to write unit tests for code that uses the OpenStack Odoo Client library, by allowing the same record classes the library itself to be created and returned as values in mocked manager methods.
@Callum027 Callum027 self-assigned this Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant