<s> import mock <EOL> from storyboardclient import base <EOL> from storyboardclient . tests import base as test_base <EOL> class BaseManagerTestCase ( test_base . TestCase ) : <EOL> @ mock . patch ( "<STR_LIT>" ) <EOL> def test_get ( self , mock_private_get ) : <EOL> manager = base . BaseManager ( mock . MagicMock ( ) ) <EOL> manager . url_key = "<STR_LIT:key>" <EOL> manager . get ( "<STR_LIT>" ) <EOL> mock_private_get . assert_called_once_with ( "<STR_LIT>" , None ) <EOL> @ mock . patch ( "<STR_LIT>" ) <EOL> def test_create ( self , mock_private_post ) : <EOL> manager = base . BaseManager ( mock . MagicMock ( ) ) <EOL> manager . url_key = "<STR_LIT:key>" <EOL> manager . create ( title = "<STR_LIT>" ) <EOL> mock_private_post . assert_called_once_with ( "<STR_LIT>" , <EOL> { "<STR_LIT:title>" : "<STR_LIT>" } ) </s>
