Fix tests

This commit is contained in:
Jonathan Kim 2020-01-31 14:58:24 +00:00
parent b7248770ce
commit 40f329cae0

View File

@ -3,7 +3,7 @@ from mock import patch, mock_open
from six import StringIO
@patch("graphene_django.management.commands.graphql_schema.Command.save_file")
@patch("graphene_django.management.commands.graphql_schema.Command.save_json_file")
def test_generate_file_on_call_graphql_schema(savefile_mock, settings):
out = StringIO()
management.call_command("graphql_schema", schema="", stdout=out)