mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Fixes tests and some PEP8.
This commit is contained in:
1 parent
483431438a
commit
ef7b4ef020
12 files changed
+39
-40
No files matched your search
@@ -127,7 +127,7 @@ class Controller:
|
||||
"""
|
||||
return self._computes
|
||||
|
||||
def getCompute(self, compute_id):
|
||||
def get_compute(self, compute_id):
|
||||
"""
|
||||
Return an compute or raise a 404
|
||||
"""
|
||||
@@ -162,7 +162,7 @@ class Controller:
|
||||
except KeyError:
|
||||
raise aiohttp.web.HTTPNotFound(text="Project ID {} doesn't exist".format(project_id))
|
||||
|
||||
def removeProject(self, project):
|
||||
def remove_project(self, project):
|
||||
del self._projects[project.id]
|
||||
|
||||
@property
|
||||
|
||||
Reference in new issue
Block a user