def parse_tester(self, svn_name, ext_spaces): path = os.path.join("setuptools", "tests", "svn_data", svn_name + "_ext_list.txt") data = _read_utf8_file(path) if ext_spaces: expected = set(["third party2", "third party3", "third party3b", "third_party"]) else: expected = set(["third_party2", "third_party3", "third_party"]) self.assertEqual(set(x for x in svn_utils.parse_external_prop(data)), expected)
def parse_tester(self, svn_name, ext_spaces): path = os.path.join('setuptools', 'tests', 'svn_data', svn_name + '_ext_list.txt') data = _read_utf8_file(path) if ext_spaces: expected = set(['third party2', 'third party3', 'third party3b', 'third_party']) else: expected = set(['third_party2', 'third_party3', 'third_party']) self.assertEqual(set(x for x in svn_utils.parse_external_prop(data)), expected)