Skip to content

Commit

Permalink
fix: clean up test functions
Browse files Browse the repository at this point in the history
  • Loading branch information
catmsred committed Feb 13, 2024
1 parent c11de29 commit 90543d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unittests/sources/test_vmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@
}


def generate_test_netdev_data(ipv4=[], ipv6=[]):
def generate_test_netdev_data(ipv4=None, ipv6=None):
ipv4 = ipv4 or []
ipv6 = ipv6 or []
return {
"eth0": {
"hwaddr": "00:16:3e:16:db:54",
Expand Down

0 comments on commit 90543d8

Please sign in to comment.