Merge pull request #150 from dbarrosop/master
Minor changes before release
This commit is contained in:
commit
afdc48c2c5
1 file changed
+3
@@ -20,6 +20,7 @@ from pyFG.fortios import FortiConfig
|
|||||||
|
|
||||||
|
|
||||||
class TestConfigFortiOSDriver(unittest.TestCase, TestConfigNetworkDriver):
|
class TestConfigFortiOSDriver(unittest.TestCase, TestConfigNetworkDriver):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
hostname = '192.168.76.13'
|
hostname = '192.168.76.13'
|
||||||
@@ -32,6 +33,7 @@ class TestConfigFortiOSDriver(unittest.TestCase, TestConfigNetworkDriver):
|
|||||||
|
|
||||||
|
|
||||||
class TestGetterFortiOSDriver(unittest.TestCase, TestGettersNetworkDriver):
|
class TestGetterFortiOSDriver(unittest.TestCase, TestGettersNetworkDriver):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
cls.mock = True
|
cls.mock = True
|
||||||
@@ -50,6 +52,7 @@ class TestGetterFortiOSDriver(unittest.TestCase, TestGettersNetworkDriver):
|
|||||||
|
|
||||||
|
|
||||||
class FakeFortiOSDevice:
|
class FakeFortiOSDevice:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def read_txt_file(filename):
|
def read_txt_file(filename):
|
||||||
with open(filename) as data_file:
|
with open(filename) as data_file:
|
||||||
|
|||||||
Reference in new issue
Block a user