a *Na@s.dZddlZddlZejddZddZdS)zG GitLab API: https://docs.gitlab.com/ce/api/repository_submodules.html Nccsjddddddddddgdddd }t,}|jtjd |d d d |VWdn1s\0YdS) N(ed899a2f4b50b4370feeea94676502b42383c746Z ed899a2f4b5MessageZAuthorzauthor@example.comz2018-09-20T09:26:24.000-07:00Z(ae1d9fb46aa2b07ee9836d49862ec4e2c46fbbba) idZshort_idtitleZ author_name author_emailZcommitter_nameZcommitter_emailZ created_atmessageZ parent_idsZcommitted_dateZ authored_datestatuszBhttp://localhost/api/v4/projects/1/repository/submodules/foo%2Fbarzapplication/json)methodurljson content_typer) responsesZ RequestsMockaddPUT)contentZrspsr}/private/var/folders/js/6pj4vh5d4zd0k6bxv74qrbhr0000gr/T/pip-target-22xwyzbs/lib/python/tests/unit/objects/test_submodules.pyresp_update_submodules. rcCsD|jddddd}t|ts J|ddks0J|ddks@JdS) Nzfoo/barZmasterZ(4c3674f66071e30b3311dac9b9ccc90502a72664r) submodulebranchZ commit_shaZcommit_messagerrr)Zupdate_submodule isinstancedict)projectrretrrrtest_update_submodule%sr)__doc__ZpytestrZfixturerrrrrrs