Skip to content

Commit f6187bf

Browse files
author
max-foss
committed
Forgot to commit the Python unit-test fix before.
1 parent 8281b5e commit f6187bf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/generator/test_xfrm.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# You should have received a copy of the GNU General Public License
1616
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1717

18-
from .base import TestBase
18+
from .base import ND_DHCP4, TestBase
1919

2020

2121
class TestNetworkdXfrm(TestBase):
@@ -33,7 +33,8 @@ def test_xfrm_basic(self):
3333
link: eth0
3434
addresses: [192.168.1.10/24]''')
3535

36-
self.assert_networkd({'xfrm0.netdev': '''[NetDev]
36+
self.assert_networkd({'eth0.network': ND_DHCP4 % 'eth0',
37+
'xfrm0.netdev': '''[NetDev]
3738
Name=xfrm0
3839
Kind=xfrm
3940

0 commit comments

Comments
 (0)