about summary refs log tree commit diff stats
path: root/makefile.in
Commit message (Expand)AuthorAgeFilesLines
...
* snapshot of project "lynx", label v2-8-1dev_18Thomas E. Dickey1998-07-251-5/+1
* snapshot of project "lynx", label v2-8-1dev_6Thomas E. Dickey1998-04-181-5/+2
* snapshot of project "lynx", label 2-8rel_3Thomas E. Dickey1998-03-111-5/+13
* snapshot of project "lynx", label v2-8pre_2Thomas E. Dickey1998-02-281-5/+5
* snapshot of project "lynx", label v2-7-1ac-0_117Thomas E. Dickey1998-02-271-11/+14
* snapshot of project "lynx", label v2-7-1ac-0_113Thomas E. Dickey1998-02-051-1/+0
* snapshot of project "lynx", label v2-7-1ac_0-110Thomas E. Dickey1998-01-221-7/+8
* snapshot of project "lynx", label v2-7-1ac_0-106Thomas E. Dickey1998-01-051-1/+1
* snapshot of project "lynx", label v2-7-1ac_0-105Thomas E. Dickey1998-01-021-34/+38
* snapshot of project "lynx", label v2-7-1ac_0-102Thomas E. Dickey1997-12-181-5/+32
* snapshot of project "lynx", label v2-7-1ac_0-97Thomas E. Dickey1997-11-241-3/+3
* snapshot of project "lynx", label v2-7-1ac_0-95Thomas E. Dickey1997-11-171-0/+2
* snapshot of project "lynx", label v2-7-1ac_0-93Thomas E. Dickey1997-11-071-5/+8
* snapshot of project "lynx", label v2-7-1ac_0-89Thomas E. Dickey1997-10-271-4/+9
* snapshot of project "lynx", label v2-7-1ac_0-84Thomas E. Dickey1997-10-171-2/+2
* snapshot of project "lynx", label v2-7-1ac_0-68Thomas E. Dickey1997-09-181-9/+14
* snapshot of project "lynx", label v2-7-1ac_0-55Thomas E. Dickey1997-08-271-4/+9
* snapshot of project "lynx", label v2-7-1ac_0-52Thomas E. Dickey1997-08-171-0/+1
* snapshot of project "lynx", label v2-7-1ac_0-48Thomas E. Dickey1997-08-071-15/+34
* snapshot of project "lynx", label v2-7-1ac_0-43Thomas E. Dickey1997-07-281-149/+15
* snapshot of project "lynx", label v2-7-1ac_0-39Thomas E. Dickey1997-07-231-60/+1
* snapshot of project "lynx", label v2-7-1ac_0-36Thomas E. Dickey1997-07-181-2/+2
* snapshot of project "lynx", label v2-7-1ac_0-28Thomas E. Dickey1997-05-251-323/+12
* snapshot of project "lynx", label v2-7-1ac_0-6Thomas E. Dickey1997-04-161-0/+711
olor: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

if __name__ == '__main__': from __init__ import init; init()

from unittest import TestCase, main

class Test(TestCase):
	def test_wrapper(self):
		from ranger.api.keys import Wrapper

		class dummyfm(object):
			def move(self, relative):
				return "I move down by {0}".format(relative)

		class commandarg(object):
			def __init__(self):
				self.fm = dummyfm()
				self.n = None

		arg = commandarg()

		do = Wrapper('fm')
		command = do.move(relative=4)

		self.assertEqual(command(arg), 'I move down by 4')

if __name__ == '__main__': main()