commit 7b387ec229084410ddc79bd10655115b239a9244
Author: Roman Prykhodchenko <email address hidden>
Date: Fri Oct 2 09:17:21 2015 +0200
Use requests-mock for old tests
In order to be able to change HTTP client easily
tests must not mock requests module themselves but
use requests-mock instead.
Since ols CLI is going to be removed there is no need in
creating a common base test class. This patch separates
base classes for old and new tests and utilizes requests-mock
for mocking HTTP client properly.
Reviewed: https:/ /review. openstack. org/230345 /git.openstack. org/cgit/ stackforge/ python- fuelclient/ commit/ ?id=7b387ec2290 84410ddc79bd106 55115b239a9244
Committed: https:/
Submitter: Jenkins
Branch: master
commit 7b387ec22908441 0ddc79bd1065511 5b239a9244
Author: Roman Prykhodchenko <email address hidden>
Date: Fri Oct 2 09:17:21 2015 +0200
Use requests-mock for old tests
In order to be able to change HTTP client easily
tests must not mock requests module themselves but
use requests-mock instead.
Since ols CLI is going to be removed there is no need in
creating a common base test class. This patch separates
base classes for old and new tests and utilizes requests-mock
for mocking HTTP client properly.
Change-Id: Ia0996cb07e6622 306f7b9e2350d9e 56344004e61
Related-bug: #1459964