-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d43f2bc
commit ca146a6
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
""" | ||
:codeauthor: Anthony Shaw <[email protected]> | ||
:codeauthor: Anthony Shaw <[email protected]> | ||
""" | ||
|
||
import pytest | ||
|
@@ -20,7 +20,7 @@ def configure_loader_modules(): | |
"file.join": napalm_test_support.join, | ||
"file.get_managed": napalm_test_support.get_managed_file, | ||
"random.hash": napalm_test_support.random_hash, | ||
"file.apply_template_on_contents": MagicMock() | ||
"file.apply_template_on_contents": MagicMock(), | ||
} | ||
} | ||
|
||
|
@@ -190,6 +190,7 @@ def test_load_template(): | |
ret = napalm_network.load_template(template_source="ntp server 192.168.0.1") | ||
assert ret["out"] is None | ||
|
||
|
||
def test_commit(): | ||
with patch( | ||
"salt.utils.napalm.get_device", | ||
|