fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Redmine locale fix. Some RAL tweaks. Added line numbers to code-mirror.
[redakcja.git]
/
lib
/
wlrepo
/
tests
/
test_mercurial.py
diff --git
a/lib/wlrepo/tests/test_mercurial.py
b/lib/wlrepo/tests/test_mercurial.py
index
1f708d6
..
9d37f9f
100644
(file)
--- a/
lib/wlrepo/tests/test_mercurial.py
+++ b/
lib/wlrepo/tests/test_mercurial.py
@@
-51,7
+51,7
@@
def test_main_cabinet(library):
mcab = library.main_cabinet
assert_equal(mcab.maindoc_name, '')
mcab = library.main_cabinet
assert_equal(mcab.maindoc_name, '')
- doclist = mcab.
documen
ts()
+ doclist = mcab.
par
ts()
assert_equal( list(doclist), ['valid_file'])
@temprepo('simple')
assert_equal( list(doclist), ['valid_file'])
@temprepo('simple')
@@
-81,7
+81,7
@@
def test_create_document(library):
@temprepo('branched')
def test_switch_branch(library):
tester_cab = library.cabinet("valid_file", "tester", create=False)
@temprepo('branched')
def test_switch_branch(library):
tester_cab = library.cabinet("valid_file", "tester", create=False)
- assert_equal( list(tester_cab.
documen
ts()), ['valid_file'])
+ assert_equal( list(tester_cab.
par
ts()), ['valid_file'])
@raises(wlrepo.CabinetNotFound)
@temprepo('branched')
@raises(wlrepo.CabinetNotFound)
@temprepo('branched')
@@
-232,5
+232,5
@@
def test_merge_personal_to_default(library):
@temprepo('clean')
def test_create_branch(library):
tester_cab = library.cabinet("anotherone", "tester", create=True)
@temprepo('clean')
def test_create_branch(library):
tester_cab = library.cabinet("anotherone", "tester", create=True)
- assert_equal( list(tester_cab.
documents()), ['anotherone'])
+ assert_equal( list(tester_cab.
parts()), ['anotherone'])