def test_ignore_file_two_files_comment(self): fdvcs = find_dvcs() content = """# Ignore these files foo.txt bar* spam.eggs """ files = fdvcs.ignore_file(content) self.assertEqual(files, {'foo.txt', 'spam.eggs'})
def test_ignore_file_two_files_comment(self): fdvcs = find_dvcs() content = """# Ignore these files foo.txt bar* spam.eggs """ files = fdvcs.ignore_file(content) self.assertEqual(files, set(['foo.txt', 'spam.eggs']))
def test_ignore_file_blank(self): fdvcs = find_dvcs() files = fdvcs.ignore_file('') self.assertEqual(files, set())
def test_get_desc_complex(self): p = find_dvcs() desc = p.get_desc() self.assertNotIn('author', desc)