Пример #1
0
def test_get_running():
    """
    Test for get the current running config (not from disk)
    """
    with patch.object(modjk, "_do_http", return_value={}):
        assert modjk.get_running() == {}
Пример #2
0
 def test_get_running(self):
     '''
     Test for get the current running config (not from disk)
     '''
     with patch.object(modjk, '_do_http', return_value={}):
         self.assertDictEqual(modjk.get_running(), {})
Пример #3
0
 def test_get_running(self):
     '''
     Test for get the current running config (not from disk)
     '''
     with patch.object(modjk, '_do_http', return_value={}):
         self.assertDictEqual(modjk.get_running(), {})