def test_read_config(self):
     cfg = {
         "noprealloc": True,
         "smallfiles": False,
         "oplogSize": 10,
         "other": "some string"
     }
     config_path = process.write_config(cfg)
     self.tmp_files.append(config_path)
     self.assertEqual(process.read_config(config_path), cfg)
 def test_read_config(self):
     cfg = {"noprealloc": True, "smallfiles": False, "oplogSize": 10, "other": "some string"}
     config_path = process.write_config(cfg)
     self.tmp_files.append(config_path)
     self.assertEqual(process.read_config(config_path), cfg)