Esempio n. 1
0
def test_dump_config():
    """
    Test for dump the original configuration that was loaded from disk
    """
    with patch.object(modjk, "_do_http", return_value={}):
        assert modjk.dump_config() == {}
Esempio n. 2
0
 def test_dump_config(self):
     '''
     Test for dump the original configuration that was loaded from disk
     '''
     with patch.object(modjk, '_do_http', return_value={}):
         self.assertDictEqual(modjk.dump_config(), {})
Esempio n. 3
0
 def test_dump_config(self):
     '''
     Test for dump the original configuration that was loaded from disk
     '''
     with patch.object(modjk, '_do_http', return_value={}):
         self.assertDictEqual(modjk.dump_config(), {})