Renamed api_client.check_version() to api_client.is_server_compatible().

Started adding unit tests: pypo-api-validator.py.
This commit is contained in:
paul.baranowski 2010-12-14 19:09:13 -05:00
parent 5e04c806bd
commit 4684837f2b
6 changed files with 165 additions and 45 deletions

View file

@ -105,7 +105,8 @@ class Global:
def selfcheck(self):
self.api_client = api_client.api_client_factory(config)
self.api_client.check_version()
if (not self.api_client.is_server_compatible()):
sys.exit()
"""