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() == {}
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(), {})