def METHOD_NAME(self):
    with TemporaryDirectory() as d:
        self.create_fake_directory(d)
        with io.open(os.path.join(d, GENERAL_SETTINGS_FILE), 'w', encoding='utf-8') as f:
            f.writelines([
                'first,1,int\n',
                'second,foo,str\n',
                'third,2.2,float\n',
            ])
        data = json.loads(create_analysis_settings_json(d))
        self.assertEqual(data['first'], 1)
        self.assertEqual(data['second'], 'foo')
        self.assertEqual(data['third'], 2.2)