1 |
radhermit 11/10/04 09:34:45 |
2 |
|
3 |
Added: ranger-1.4.4-fix-tests.patch |
4 |
Log: |
5 |
Version bump. |
6 |
|
7 |
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-misc/ranger/files/ranger-1.4.4-fix-tests.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/ranger/files/ranger-1.4.4-fix-tests.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/ranger/files/ranger-1.4.4-fix-tests.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: ranger-1.4.4-fix-tests.patch |
16 |
=================================================================== |
17 |
--- ranger-1.4.4/test/tc_loader.py.orig |
18 |
+++ ranger-1.4.4/test/tc_loader.py |
19 |
@@ -35,7 +35,7 @@ |
20 |
class Test1(unittest.TestCase): |
21 |
def test_loader(self): |
22 |
loader = Loader() |
23 |
- fm = OpenStruct(loader=loader) |
24 |
+ fm = OpenStruct(loader=loader, update_preview=lambda path: None) |
25 |
SettingsAware.settings = Fake() |
26 |
FileManagerAware.fm = fm |
27 |
|
28 |
--- ranger-1.4.4/test/tc_newkeys.py.orig |
29 |
+++ ranger-1.4.4/test/tc_newkeys.py |
30 |
@@ -127,8 +127,8 @@ |
31 |
test('<C-b>', 2) |
32 |
for i in range(1, 26): |
33 |
test('<C-' + chr(i+ord('a')-1) + '>', i) |
34 |
- test('<A-x>', 27, ord('x')) |
35 |
- test('<a-o>', 27, ord('o')) |
36 |
+ test('<A-x>', 9004, ord('x')) |
37 |
+ test('<a-o>', 9004, ord('o')) |
38 |
test('k<a') |
39 |
test('k<anz>') |
40 |
test('k<a<nz>') |