<s> import mock <EOL> from storyboardclient . tests import base as test_base <EOL> from storyboardclient . v1 import subscriptions <EOL> class SubscriptionsTestCase ( test_base . TestCase ) : <EOL> @ mock . patch ( "<STR_LIT>" ) <EOL> def test_subscriptions_list ( self , mock_private_list ) : <EOL> subscriptions . SubscriptionsManager ( mock . MagicMock ( ) ) . list ( ) <EOL> mock_private_list . assert_called_once_with ( <EOL> "<STR_LIT>" , None ) <EOL> @ mock . patch ( "<STR_LIT>" ) <EOL> def test_subscriptions_create ( self , mock_private_post ) : <EOL> subscriptions . SubscriptionsManager ( mock . MagicMock ( ) ) . create ( <EOL> target_type = "<STR_LIT>" , <EOL> target_id = "<STR_LIT>" ) <EOL> mock_private_post . assert_called_once_with ( <EOL> "<STR_LIT>" , <EOL> { "<STR_LIT>" : "<STR_LIT>" , <EOL> "<STR_LIT>" : "<STR_LIT>" } ) </s>
