a *Naq@s>dZddlZddlZdZdZdZdZejddZd d Z dS) z> GitLab API: https://docs.gitlab.com/ce/api/applications.html NzGitLab Test Instancezgitlab-test.example.comz new-titleznew-descriptionccsXddddgd}t,}|jtjd|ddd |VWdn1sJ0YdS) Ntest_apphttp://localhost:8080apiemail)name redirect_uriscopesz$http://localhost/api/v4/applicationszapplication/json)methodurljson content_typestatus) responsesZ RequestsMockaddPOST)contentZrspsr/private/var/folders/js/6pj4vh5d4zd0k6bxv74qrbhr0000gr/T/pip-target-22xwyzbs/lib/python/tests/unit/objects/test_applications.pyresp_application_creates rcCsL|jddddgdd}|jdks(J|jdks6J|jddgksHJdS)NrrrrF)rrrZ confidential)Z applicationscreaterrr)glrZ applicationrrrtest_create_application!sr) __doc__Zpytestrtitle descriptionZ new_titleZnew_descriptionZfixturerrrrrrs