Skip to content

Commit

Permalink
corrected file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
nitish-ks committed Jan 10, 2025
1 parent aa92879 commit 03aab0d
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Empty file modified tests/integration/targets/nios_vlan/aliases
100755 → 100644
Empty file.
Empty file modified tests/integration/targets/nios_vlan/defaults/main.yaml
100755 → 100644
Empty file.
Empty file modified tests/integration/targets/nios_vlan/meta/main.yaml
100755 → 100644
Empty file.
Empty file modified tests/integration/targets/nios_vlan/tasks/main.yaml
100755 → 100644
Empty file.
Empty file.
12 changes: 6 additions & 6 deletions tests/unit/plugins/modules/test_nios_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,13 @@ def test_nios_network_ipv4_create_with_vlan(self):

self.assertTrue(res['changed'])
wapi.create_object.assert_called_once_with(
'NIOS_IPV4_NETWORK',
'NIOS_IPV4_NETWORK',
{
'network': '192.168.10.0/24',
'vlans': [
{
'name': 'ansible_vlan',
'parent': 'default',
'parent': 'default',
'id': '10'
}
]
Expand Down Expand Up @@ -374,18 +374,18 @@ def test_nios_network_ipv4_update_vlan(self):
self.assertTrue(res['changed'])

wapi.update_object.assert_called_once_with(
ref,
ref,
{
'network': '192.168.10.0/24',
'vlans': [
{
'name': 'ansible_vlan1',
'parent': 'default',
'parent': 'default',
'id': '10'
},
{
'name': 'ansible_vlan2',
'parent': 'default',
'parent': 'default',
'id': '20'
}
]
Expand Down Expand Up @@ -419,7 +419,7 @@ def test_nios_network_ipv4_remove_vlan(self):

self.assertTrue(res['changed'])
wapi.update_object.assert_called_once_with(
ref,
ref,
{
'network': '192.168.10.0/24',
'vlans': []
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/plugins/modules/test_nios_vlan.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ def test_nios_vlan_create(self):

self.assertTrue(res['changed'])
wapi.create_object.assert_called_once_with(
'NIOS_VLAN',
'NIOS_VLAN',
{
'name': 'ansible_vlan',
'parent': 'default',
'parent': 'default',
'id': '10'
}
)
Expand Down

0 comments on commit 03aab0d

Please sign in to comment.