mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-06-18 12:33:12 +03:00
Fix tests
This commit is contained in:
parent
b7248770ce
commit
40f329cae0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user