diff options
author | Dmitry Tantsur <divius.inside@gmail.com> | 2018-05-25 16:09:35 +0200 |
---|---|---|
committer | Dmitry Tantsur <divius.inside@gmail.com> | 2018-06-06 16:10:43 +0200 |
commit | 7fcca34de6347b1f5c5eb76a292e7f50086a135a (patch) | |
tree | b7cb127f2a29fbdb76fa7f2a4c92551a3bbcc6c2 /ironic/tests/unit/dhcp | |
parent | d69dc019cb0573a3edcbff3ccca479cefc5ec67c (diff) | |
download | ironic-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.py | 1 |
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') |