63
63
file('hello.OTHER', 'w').write('hello world3')
64
64
file('hello.sploo.BASE', 'w').write('yellow world')
65
65
file('hello.sploo.OTHER', 'w').write('yellow world2')
66
67
self.assertEqual(len(list(tree.list_files())), 6)
67
69
conflicts = tree.conflicts()
68
70
self.assertEqual(len(conflicts), 2)
69
71
self.assert_('hello' in conflicts[0].path)