import os import pytest from fedeproxy.common.gitlab import GitLab @pytest.mark.gitlab def test_recreate_project(tmpdir): ip = os.environ.get('FEDEPROXY_IP', '0.0.0.0') gitlab = GitLab(f'http://{ip}:8181') gitlab.login('root', 'Wrobyak4') gitlab.recreate_project('root', 'testproject')