sphinxtogithub: keep the trailing / separator
[git-cola.git] / test / models_selection_test.py
blob635dfb2797b2739705bc214f2ab1ea5b9c46f238
1 from __future__ import absolute_import, division, print_function, unicode_literals
3 from cola.models import selection
5 from .helper import Mock
8 def test_union():
9 t = Mock()
10 t.staged = ['a']
11 t.unmerged = ['a', 'b']
12 t.modified = ['b', 'a', 'c']
13 t.untracked = ['d']
15 expect = ['a', 'b', 'c', 'd']
16 actual = selection.union(t)
17 assert expect == actual