Skip to content

Commit 8b0abd6

Browse files
committed
fixed test input and expected output
1 parent abd683b commit 8b0abd6

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

tests/airos/test_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class TestGuiConverter(unittest.TestCase):
99

1010
def test_gui_key(self):
1111
o = self.backend({
12-
"general": {}
12+
'gui': {},
1313
})
1414

1515
o.to_intermediate()

tests/airos/test_resolv.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def test_resolv(self):
1919
expected = [
2020
{
2121
'host.1.name' : 'airos',
22+
'host.1.status': 'enabled',
2223
},
2324
{
2425
'nameserver.1.ip' : '10.150.42.1',
@@ -42,6 +43,7 @@ def test_no_dns_server(self):
4243
expected = [
4344
{
4445
'host.1.name' : 'airos',
46+
'host.1.status': 'enabled',
4547
},
4648
{
4749
'status' : 'enabled',

0 commit comments

Comments
 (0)