<s> import shopify <EOL> from test . test_helper import TestCase <EOL> class AssetTest ( TestCase ) : <EOL> def test_get_assets ( self ) : <EOL> self . fake ( "<STR_LIT>" , method = '<STR_LIT:GET>' , body = self . load_fixture ( '<STR_LIT>' ) ) <EOL> v = shopify . Asset . find ( ) <EOL> def test_get_asset ( self ) : <EOL> self . fake ( "<STR_LIT>" , extension = False , method = '<STR_LIT:GET>' , body = self . load_fixture ( '<STR_LIT>' ) ) <EOL> v = shopify . Asset . find ( '<STR_LIT>' ) <EOL> def test_update_asset ( self ) : <EOL> self . fake ( "<STR_LIT>" , extension = False , method = '<STR_LIT:GET>' , body = self . load_fixture ( '<STR_LIT>' ) ) <EOL> v = shopify . Asset . find ( '<STR_LIT>' ) <EOL> self . fake ( "<STR_LIT>" , method = '<STR_LIT>' , body = self . load_fixture ( '<STR_LIT>' ) , headers = { '<STR_LIT>' : '<STR_LIT:application/json>' } ) <EOL> v . save ( ) <EOL> def test_get_assets_namespaced ( self ) : <EOL> self . fake ( "<STR_LIT>" , method = '<STR_LIT:GET>' , body = self . load_fixture ( '<STR_LIT>' ) ) <EOL> v = shopify . Asset . find ( theme_id = <NUM_LIT:1> ) <EOL> def test_get_asset_namespaced ( self ) : <EOL> self . fake ( "<STR_LIT>" , extension = False , method = '<STR_LIT:GET>' , body = self . load_fixture ( '<STR_LIT>' ) ) <EOL> v = shopify . Asset . find ( '<STR_LIT>' , theme_id = <NUM_LIT:1> ) <EOL> def test_update_asset_namespaced ( self ) : <EOL> self . fake ( "<STR_LIT>" , extension = False , method = '<STR_LIT:GET>' , body = self . load_fixture ( '<STR_LIT>' ) ) <EOL> v = shopify . Asset . find ( '<STR_LIT>' , theme_id = <NUM_LIT:1> ) <EOL> self . fake ( "<STR_LIT>" , method = '<STR_LIT>' , body = self . load_fixture ( '<STR_LIT>' ) , headers = { '<STR_LIT>' : '<STR_LIT:application/json>' } ) <EOL> v . save ( ) <EOL> def test_delete_asset_namespaced ( self ) : <EOL> self . fake ( "<STR_LIT>" , extension = False , method = '<STR_LIT:GET>' , body = self . load_fixture ( '<STR_LIT>' ) ) <EOL> v = shopify . Asset . find ( '<STR_LIT>' , theme_id = <NUM_LIT:1> ) <EOL> self . fake ( "<STR_LIT>" , extension = False , method = '<STR_LIT>' , body = "<STR_LIT:{}>" ) <EOL> v . destroy ( ) </s>
