Run tests using testrepository

Change-Id: Ic0b4146d18fe7dba6f7c43c48ad6507147ef11eb
Implemented bugfix for bug 1252989

I find bug after rebase my api unit tests to the latest master. We forgot
to add 'cfg.CONF.import('opt_name', 'climate.config')

Change-Id: I6c996c738bf3b2ae0b2c6d14beed424f99db4859
fixes: bug #1252989
Add unit tests to api functionality

Change-Id: Iae5d8a69d9fb0fa272aa0535f84c0ceeba6dd4d9
Merge "Run tests using testrepository"