@@ -24,7 +24,7 @@ def test_ipv4_static(self):
2424 ]
2525 })
2626
27- expected = '''config: /etc/network/interfaces
27+ expected = '''# config: /etc/network/interfaces
2828auto eth0
2929iface eth0 inet static
3030 address 10.0.0.1
@@ -51,7 +51,7 @@ def test_ipv6_static(self):
5151 ]
5252 })
5353
54- expected = '''config: /etc/network/interfaces
54+ expected = '''# config: /etc/network/interfaces
5555auto eth0
5656iface eth0 inet6 static
5757 address fe80::ba27:ebff:fe1c:5477
@@ -84,7 +84,7 @@ def test_multiple_static(self):
8484 ]
8585 })
8686
87- expected = '''config: /etc/network/interfaces
87+ expected = '''# config: /etc/network/interfaces
8888auto eth0
8989iface eth0 inet static
9090 address 10.0.0.1
@@ -112,7 +112,7 @@ def test_ipv4_dhcp(self):
112112 ]
113113 })
114114
115- expected = '''config: /etc/network/interfaces
115+ expected = '''# config: /etc/network/interfaces
116116auto eth0
117117iface eth0 inet dhcp
118118
@@ -135,7 +135,7 @@ def test_ipv6_dhcp(self):
135135 ]
136136 })
137137
138- expected = '''config: /etc/network/interfaces
138+ expected = '''# config: /etc/network/interfaces
139139auto eth0
140140iface eth0 inet6 dhcp
141141
@@ -163,7 +163,7 @@ def test_multiple_dhcp(self):
163163 ]
164164 })
165165
166- expected = '''config: /etc/network/interfaces
166+ expected = '''# config: /etc/network/interfaces
167167auto eth0
168168iface eth0 inet dhcp
169169iface eth0 inet6 dhcp
@@ -202,7 +202,7 @@ def test_multiple_ip(self):
202202 ]
203203 })
204204
205- expected = '''config: /etc/network/interfaces
205+ expected = '''# config: /etc/network/interfaces
206206auto eth0.1
207207iface eth0.1 inet static
208208 address 192.168.1.1
@@ -234,7 +234,7 @@ def test_mtu(self):
234234 ],
235235 })
236236
237- expected = '''config: /etc/network/interfaces
237+ expected = '''# config: /etc/network/interfaces
238238auto eth1
239239iface eth1 inet dhcp
240240 pre-up /sbin/ifconfig $IFACE mtu 1500
@@ -259,7 +259,7 @@ def test_mac(self):
259259 ],
260260 })
261261
262- expected = '''config: /etc/network/interfaces
262+ expected = '''# config: /etc/network/interfaces
263263auto eth1
264264iface eth1 inet dhcp
265265 hwaddress 52:54:00:56:46:c0
@@ -296,7 +296,7 @@ def test_multiple_ip_and_dhcp(self):
296296 ]
297297 })
298298
299- expected = '''config: /etc/network/interfaces
299+ expected = '''# config: /etc/network/interfaces
300300auto eth0
301301iface eth0 inet dhcp
302302iface eth0 inet static
@@ -329,13 +329,13 @@ def test_interface_with_resolv(self):
329329 "dns_search" : ["netjson.org" , "openwisp.org" ],
330330 })
331331
332- expected = '''config: /etc/network/interfaces
332+ expected = '''# config: /etc/network/interfaces
333333auto eth0
334334iface eth0 inet static
335335 address 192.168.1.1
336336 netmask 255.255.255.0
337337
338- config: /etc/resolv.conf
338+ # config: /etc/resolv.conf
339339nameserver 10.11.12.13
340340nameserver 8.8.8.8
341341search netjson.org
@@ -361,7 +361,7 @@ def test_loopback(self):
361361 ]
362362 })
363363
364- expected = '''config: /etc/network/interfaces
364+ expected = '''# config: /etc/network/interfaces
365365auto lo
366366iface lo inet static
367367 address 127.0.0.1
@@ -386,7 +386,7 @@ def test_adhoc_wireless(self):
386386 ]
387387 })
388388
389- expected = '''config: /etc/network/interfaces
389+ expected = '''# config: /etc/network/interfaces
390390auto wireless
391391iface wireless inet static
392392 address 172.128.1.1
@@ -413,7 +413,7 @@ def test_simple_bridge(self):
413413 ]
414414 })
415415
416- expected = '''config: /etc/network/interfaces
416+ expected = '''# config: /etc/network/interfaces
417417auto br-lan
418418 bridge_ports eth0 eth1
419419
@@ -443,7 +443,7 @@ def test_complex_bridge(self):
443443 ]
444444 })
445445
446- expected = '''config: /etc/network/interfaces
446+ expected = '''# config: /etc/network/interfaces
447447auto brwifi
448448iface brwifi inet6 static
449449 address fe80::8029:23ff:fe7d:c214
0 commit comments