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