fix resource show and list
just a mock for now Change-Id: I24ae06a3c79a878326ad5c3464f9c155448aff55
This commit is contained in:
parent
5ef520b28d
commit
5030a4111d
@ -45,7 +45,8 @@ class ResourcesController(rest.RestController):
|
||||
|
||||
@staticmethod
|
||||
def get_resources(resource_type):
|
||||
return dict()
|
||||
# todo(eyalb1) need a mock for this
|
||||
return [{'None': None}]
|
||||
|
||||
|
||||
class ResourceController(rest.RestController):
|
||||
@ -67,4 +68,5 @@ class ResourceController(rest.RestController):
|
||||
|
||||
@staticmethod
|
||||
def get_resource(id_):
|
||||
return dict()
|
||||
# todo(eyalb1) need a mock for this
|
||||
return {'None': None}
|
||||
|
Loading…
x
Reference in New Issue
Block a user