Merge pull request #48 from tuxerman/unittests_provider
Client is now a property
This commit is contained in:
commit
833d10e6c8
|
@ -47,9 +47,10 @@ class CDNProvider(provider.CDNProviderBase):
|
|||
def is_alive(self):
|
||||
return True
|
||||
|
||||
@property
|
||||
def client(self):
|
||||
return self.fastly_client
|
||||
|
||||
@decorators.lazy_property(write=False)
|
||||
@property
|
||||
def service_controller(self):
|
||||
return controllers.ServiceController(self)
|
||||
|
|
Loading…
Reference in New Issue