Remove py23_compat.text_type usage
This commit is contained in:
1 parent
df1d827038
commit
b287f3d6c7
2 files changed
+30
-33
No files matched your search
@@ -5,7 +5,6 @@ import pytest
|
||||
from napalm.base.test import conftest as parent_conftest
|
||||
|
||||
from napalm.base.test.double import BaseTestDouble
|
||||
from napalm.base.utils import py23_compat
|
||||
|
||||
from napalm_vyos import vyos
|
||||
|
||||
@@ -55,5 +54,4 @@ class FakeVyOSDevice(BaseTestDouble):
|
||||
def send_command(self, command, **kwargs):
|
||||
filename = '{}.text'.format(self.sanitize_text(command))
|
||||
full_path = self.find_file(filename)
|
||||
result = self.read_txt_file(full_path)
|
||||
return py23_compat.text_type(result)
|
||||
return self.read_txt_file(full_path)
|
||||
Reference in new issue
Block a user