Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow datasource access in constructors of mocked models.
When mock objects are created from models that access their datasource in the constructor, an exception would be raised for the missing default datasource. By changing how configuration data is handled in the mock creation we can avoid this issue and not reopen #4867 Refs #8225
- Loading branch information
Showing
2 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters