def test_local_and_global_config(self):
        with open(GLOBAL_CONFIG, mode='w') as f:
            f.write("[pep8]\nindent-size=2")
        with open(LOCAL_CONFIG, mode='w') as f:
            f.write("[pep8]\nindent-size=3")
        args_after = parse_args([GLOBAL_CONFIG % '--global-config=%s'],
                                apply_config=True, root=TEMP_DIR)
        self.assertEqual(3, args_after.indent_size)
        args_after = parse_args(['--global-config=%s' % GLOBAL_CONFIG,
                                 '--ignore-local-config'],
                                apply_config=True, root=TEMP_DIR)
        self.assertEqual(2, args_after.indent_size)
dataset/ETHPy150Open hayd/pep8radius/tests/test_main.py/TestMain.test_local_and_global_config/swapped operands of `%`