Remove unused code in both the cloud interfaces and environment models. Also add tests for some untested code in the cloud interface.

This commit is contained in:
tomdds
2020-02-05 14:48:54 -05:00
parent aaa4b401b5
commit 13aca270ca
11 changed files with 79 additions and 145 deletions

View File

@@ -39,7 +39,6 @@ def get_environments_obj_for_app(application):
{
"id": env.id,
"name": env.name,
"pending": env.is_pending,
"edit_form": EditEnvironmentForm(obj=env),
"member_count": len(env.roles),
"members": sorted(