mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Set fact gathering style to 'old' for test_junos
Without this, we stacktrace because it does not appear that setting 'gather_facts' to False prevents the library from assuming the presence of facts. I believe this to be an upstream bug with jnpr. Because they have listed this as being a deprecated option in the future this may re-break in the future.
This commit is contained in:
parent
4c1d931654
commit
834d6c605e
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ class Test_Junos_Module(TestCase, LoaderModuleMockMixin, XMLEqualityMixin):
|
|||
host='1.1.1.1',
|
||||
user='test',
|
||||
password='test123',
|
||||
fact_style='old',
|
||||
gather_facts=False)
|
||||
self.dev.open()
|
||||
self.dev.timeout = 30
|
||||
|
|
Loading…
Add table
Reference in a new issue