summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/dhcp
diff options
context:
space:
mode:
authorDmitry Tantsur <divius.inside@gmail.com>2018-05-25 16:09:35 +0200
committerDmitry Tantsur <divius.inside@gmail.com>2018-06-06 16:10:43 +0200
commit7fcca34de6347b1f5c5eb76a292e7f50086a135a (patch)
treeb7cb127f2a29fbdb76fa7f2a4c92551a3bbcc6c2 /ironic/tests/unit/dhcp
parentd69dc019cb0573a3edcbff3ccca479cefc5ec67c (diff)
downloadironic-7fcca34de6347b1f5c5eb76a292e7f50086a135a.tar.gz
Completely stop using the "fake" classic driver in unit tests
This change makes "fake-hardware" the default driver for test nodes and makes enabled_drivers empty in the base test class. Note that some unit test coverage for classic drivers is lost because of this change. It is fine, because the classic drivers themselves are deprecated and will be removed soon. Change-Id: I06acb5aed24ef952db3f9e6987e5a90c81e96401
Diffstat (limited to 'ironic/tests/unit/dhcp')
-rw-r--r--ironic/tests/unit/dhcp/test_factory.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ironic/tests/unit/dhcp/test_factory.py b/ironic/tests/unit/dhcp/test_factory.py
index 13c434b50..b72a565b1 100644
--- a/ironic/tests/unit/dhcp/test_factory.py
+++ b/ironic/tests/unit/dhcp/test_factory.py
@@ -31,7 +31,6 @@ class TestDHCPFactory(base.TestCase):
def setUp(self):
super(TestDHCPFactory, self).setUp()
- self.config(enabled_drivers=['fake'])
self.config(url='test-url',
url_timeout=30,
group='neutron')