Merge pull request #48 from tuxerman/unittests_provider

Client is now a property
This commit is contained in:
Amit Gandhi 2014-07-23 10:58:27 -04:00
commit 833d10e6c8
1 changed files with 2 additions and 1 deletions

View File

@ -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)