예제 #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() == {}
예제 #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(), {})
예제 #3
0
파일: modjk_test.py 프로젝트: DaveQB/salt
 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(), {})