Skip to content

tests: Update tests to use autospecs instead of specs#466

Merged
Dany9966 merged 1 commit into
cloudbase:masterfrom
claudiubelu:oslotest-autospec
Jul 3, 2026
Merged

tests: Update tests to use autospecs instead of specs#466
Dany9966 merged 1 commit into
cloudbase:masterfrom
claudiubelu:oslotest-autospec

Conversation

@claudiubelu

Copy link
Copy Markdown
Member

Autospecs are stricter than regular specs, enforcing mocked function calls to respect the original function's signature.

autospec is not a standard argument in the mock library, which is why mock_fixture.MockAutospecFixture() is needed.

Autospecs are stricter than regular specs, enforcing mocked function
calls to respect the original function's signature.

autospec is not a standard argument in the mock library, which is why
mock_fixture.MockAutospecFixture() is needed.
@Dany9966 Dany9966 merged commit cafaeb7 into cloudbase:master Jul 3, 2026
5 checks passed
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.

2 participants