import mock_open

This commit is contained in:
blacktwin 2019-09-24 14:35:29 -04:00 committed by GitHub
parent b21d897d30
commit d5c58b4ac3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,9 +10,9 @@ import requests
from plexapi.myplex import MyPlexAccount
try:
from unittest.mock import patch, MagicMock
from unittest.mock import patch, MagicMock, mock_open
except ImportError:
from mock import patch, MagicMock
from mock import patch, MagicMock, mock_open
import plexapi