def test_pants_global_with_default(self):
    config = {'DEFAULT': {'b': '99'},
              'GLOBAL': {'store_true_flag': True}
              }
    options = self._parse('./pants', config=config)

    self.assertEqual(99, options.for_global_scope().b)
    self.assertTrue(options.for_global_scope().store_true_flag)
This test makes sure values under [DEFAULT] still gets read.
dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/option/test_options.py/OptionsTest.test_pants_global_with_default