Loading tests/test_groups.py +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ def mock_empty_project(project_id, archived: bool = False, project_access: int = responses.add(responses.GET, f'http://gitlab.test/api/v4/projects/{project_id}', status=200, json= {'id': project_id, 'path': f'project_{project_id}', 'path_with_namespace': f'path/to/group/project_{project_id}', 'default_branch': 'main', 'archived': archived, 'permissions': permission } 'default_branch': 'main', 'archived': archived, 'permissions': permission, 'jobs_enabled': True } ) responses.add(responses.GET, f'http://gitlab.test/api/v4/projects/{project_id}/repository/files/.butlercfg.yaml?ref=main', status=404) responses.add(responses.GET, f'http://gitlab.test/api/v4/projects/{project_id}/repository/files/.butlercfg.yml?ref=main', status=404) Loading Loading
tests/test_groups.py +1 −1 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ def mock_empty_project(project_id, archived: bool = False, project_access: int = responses.add(responses.GET, f'http://gitlab.test/api/v4/projects/{project_id}', status=200, json= {'id': project_id, 'path': f'project_{project_id}', 'path_with_namespace': f'path/to/group/project_{project_id}', 'default_branch': 'main', 'archived': archived, 'permissions': permission } 'default_branch': 'main', 'archived': archived, 'permissions': permission, 'jobs_enabled': True } ) responses.add(responses.GET, f'http://gitlab.test/api/v4/projects/{project_id}/repository/files/.butlercfg.yaml?ref=main', status=404) responses.add(responses.GET, f'http://gitlab.test/api/v4/projects/{project_id}/repository/files/.butlercfg.yml?ref=main', status=404) Loading