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:
Mike Place 2017-08-02 23:11:52 -06:00
parent 4c1d931654
commit 834d6c605e
No known key found for this signature in database
GPG key ID: 9136F4F13705CFD3

View file

@ -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