Correct schema write test by kiendang · Pull Request #1416 · graphql-python/graphene-django
approved these changes May 27, 2023
<Mock>.called_once() just returns a Mock, so assert <Mock>.called_once() always passes. We want <Mock>.assert_called_once().
superlevure pushed a commit to loft-orbital/graphene-django that referenced this pull request
Jul 19, 2023This file contains hidden or 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