Remove get_deployment helpers for clarity

1 job for deployment-mode in 1 minute and 29 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
failed #298588
test

00:01:29

 
Name Stage Failure
failed
test Test
DEBUG    feudal.backend.models.deployments:deployments.py:181 VO-Dep: (VO-GROUP-test_group_no:USER gustav@test-domain.de)#22 - Created
DEBUG feudal.backend.models.deployments:deployments.py:236 VO-Dep: (VO-GROUP-test_group_no:USER gustav@test-domain.de)#22 - Deleted deployment still has states: []
DEBUG feudal.backend.models.deployments:deployments.py:104 VO-Dep: (VO-GROUP-test_group_no:USER gustav@test-domain.de)#22 - Target changed to not_deployed
=========================== short test summary info ============================
FAILED feudal/backend/models/tests/old_deployments.py::DeploymentTest::test_group_with_service
================== 1 failed, 165 passed, 3 skipped in 45.16s ===================
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1