mirror of
https://github.com/napalm-automation-community/napalm-vyos.git
synced 2026-03-02 11:54:50 +00:00
fixes for pylama
This commit is contained in:
@@ -37,7 +37,6 @@ class PatchedVyOSDriver(vyos.VyOSDriver):
|
||||
|
||||
self.patched_attrs = ['device']
|
||||
self.device = FakeVyOSDevice()
|
||||
#self._device = FakeVyOSDevice()
|
||||
|
||||
def close(self):
|
||||
pass
|
||||
@@ -54,8 +53,6 @@ class PatchedVyOSDriver(vyos.VyOSDriver):
|
||||
class FakeVyOSDevice(BaseTestDouble):
|
||||
"""VyOS device test double."""
|
||||
|
||||
|
||||
|
||||
def send_command(self, command, **kwargs):
|
||||
filename = '{}.text'.format(self.sanitize_text(command))
|
||||
print filename
|
||||
|
||||
Reference in New Issue
Block a user