diff options
author | 2017-08-23 12:56:18 +0300 | |
---|---|---|
committer | 2017-08-23 13:17:07 +0300 | |
commit | 13767be99f8815395be01edc5c97735cdc66590b (patch) | |
tree | bbfd7c2176344f1b8f6bc83f5e92f0e91cfaab79 /app/test/fetch/db_fetch/test_db_fetch_aggregate_hosts.py | |
parent | 6519f3a2723827b7785fd13690b4c53b28eb325d (diff) |
Refactored api fetch tests to use mocked requests
Also fixed some mocking logic
Change-Id: I826fc1c03af1244cf10d9edee37c7c8f732c3602
Signed-off-by: Ilia Abashin <abashinos@gmail.com>
Diffstat (limited to 'app/test/fetch/db_fetch/test_db_fetch_aggregate_hosts.py')
-rw-r--r-- | app/test/fetch/db_fetch/test_db_fetch_aggregate_hosts.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/test/fetch/db_fetch/test_db_fetch_aggregate_hosts.py b/app/test/fetch/db_fetch/test_db_fetch_aggregate_hosts.py index 2066577..8fccaf4 100644 --- a/app/test/fetch/db_fetch/test_db_fetch_aggregate_hosts.py +++ b/app/test/fetch/db_fetch/test_db_fetch_aggregate_hosts.py @@ -16,6 +16,7 @@ from unittest.mock import MagicMock class TestDbFetchAggregateHosts(TestFetch): def setUp(self): + super().setUp() self.configure_environment() self.fetcher = DbFetchAggregateHosts() |